Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass operator_new_alignment value through gn script into GN args. #7031

Merged
merged 3 commits into from Jan 15, 2019

Conversation

mraleph
Copy link
Member

@mraleph mraleph commented Nov 30, 2018

Background:

Some allocators (tcmalloc) don't provide alignment guarantees that
match clang's default expectations, which causes crashes when using
clang compiled binary with such allocators.

For example clang can produce movaps instructions to initialize newly
allocated object - which would crash if result of ::operator new() is
not 16 bytes aligned.

@chinmaygarde
Copy link
Member

Can we commit or close this PR? Trying to clear the PR queue.

mraleph and others added 2 commits January 15, 2019 15:16
Background:

Some allocators (tcmalloc) don't provide alignment guarantees that
match clang's default expectations, which causes crashes when using
clang compiled binary with such allocators.

For example clang can produce movaps instructions to initialize newly
allocated object - which would crash if result of ::operator new() is
not 16 bytes aligned.
@mraleph
Copy link
Member Author

mraleph commented Jan 15, 2019

@chinmaygarde I will land this today.

@chinmaygarde
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants