The clause in dumpARMELFData that dumps a single byte as a .byte
directive was printing the operand of that directive as Bytes[0],
not Bytes[Index]. In particular, this led to the dumpBytes output
to its left not matching it!
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for catching the ARM bug. In the test, 0 is a very common value and the test may still pass with other types of wrong-index bugs. Can you improve the test a bit?
Comment Actions
Good point, thanks. Updated the test to contain a more distinctive value in the final byte of the data section.