Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

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
Contributor

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
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants