Skip to content

Fix missing alignment for kernighan_ritchie allocator unittests#5345

Merged
dlang-bot merged 1 commit intodlang:stablefrom
kinke:fixKR
Apr 23, 2017
Merged

Fix missing alignment for kernighan_ritchie allocator unittests#5345
dlang-bot merged 1 commit intodlang:stablefrom
kinke:fixKR

Conversation

@kinke
Copy link
Contributor

@kinke kinke commented Apr 23, 2017

Otherwise LLVM sometimes chooses to align the stack buffers at a 4-bytes boundary (on x86_64) leading to an assertion in the KRRegion constructor.

Copy link
Contributor

@dnadlinger dnadlinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requirement is explicitly documented, so fixing up the tests is all left to do.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants