Allow section alignment value to be 64 bit.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D38302
[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
Diff Detail Event TimelineHerald added subscribers: aheejin, sbc100, sdardis, emaste. · View Herald TranscriptSep 26 2017, 6:49 PM
Revision Contents
Diff 116746 include/llvm/MC/MCELFStreamer.h
include/llvm/MC/MCFragment.h
include/llvm/MC/MCObjectStreamer.h
include/llvm/MC/MCSection.h
include/llvm/MC/MCStreamer.h
include/llvm/MC/MCWasmStreamer.h
include/llvm/MC/MCWinCOFFStreamer.h
lib/MC/ELFObjectWriter.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCELFStreamer.cpp
lib/MC/MCMachOStreamer.cpp
lib/MC/MCNullStreamer.cpp
lib/MC/MCObjectStreamer.cpp
lib/MC/MCStreamer.cpp
lib/MC/MCWasmStreamer.cpp
lib/MC/MCWinCOFFStreamer.cpp
lib/MC/WasmObjectWriter.cpp
lib/Object/RecordStreamer.h
lib/Object/RecordStreamer.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
test/MC/ELF/align-64-bits.s
test/MC/ELF/align-nops-64-bits.s
|
Please reorder the fields so that the three 64-bit members are next to each other. This will reduce the space wasted for padding.