forked from OSchip/llvm-project
output alignment value in hex so that we get:
.align 3, 0x90 instead of, .align 3, 144 suggested by eric. llvm-svn: 80875
This commit is contained in:
parent
620713c5b4
commit
f16a122213
|
@ -225,7 +225,8 @@ void MCAsmStreamer::EmitValueToAlignment(unsigned ByteAlignment, int64_t Value,
|
|||
OS << Log2_32(ByteAlignment);
|
||||
|
||||
if (Value || MaxBytesToEmit) {
|
||||
OS << ", " << truncateToSize(Value, ValueSize);
|
||||
OS << ", 0x";
|
||||
OS.write_hex(truncateToSize(Value, ValueSize));
|
||||
|
||||
if (MaxBytesToEmit)
|
||||
OS << ", " << MaxBytesToEmit;
|
||||
|
|
Loading…
Reference in New Issue