This is an archive of the discontinued LLVM Phabricator instance.

[X86][MC] Fixed crash when assembling a file that contains section with 64-bit alignment (PR34726)
Needs ReviewPublic

Authored by kbelochapka on Sep 26 2017, 6:49 PM.

Details

Summary

Allow section alignment value to be 64 bit.

Diff Detail

Event Timeline

kbelochapka created this revision.Sep 26 2017, 6:49 PM

@rafael this looks pretty benign to me, but MC is not my area. What do you think?

include/llvm/MC/MCFragment.h
296

Please reorder the fields so that the three 64-bit members are next to each other. This will reduce the space wasted for padding.

espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 9:10 AM