Skip to content

Conversation

JeffBezanson
Copy link
Member

I tried to follow the layout assumed by llvm here; that is probably our only real option, though it's unfortunate. With this, an inlineable type might now have a size-as-field that's different from its size.

fixes #37974

@JeffBezanson JeffBezanson added the bugfix This change fixes an existing bug label Oct 21, 2020
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

LGTM, just suggesting one extra test for the Union layout case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

some primitive-type objects of non-power-of-two size are not printed when even
2 participants