[all-commits] [llvm/llvm-project] e35fec: [llvm-objdump, ARM] Fix .byte directives dumping th...
Simon Tatham via All-commits
all-commits at lists.llvm.org
Mon Jul 25 06:56:17 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e35fec2c0277c27f13d06e4a3a8a3e676286daab
https://github.com/llvm/llvm-project/commit/e35fec2c0277c27f13d06e4a3a8a3e676286daab
Author: Simon Tatham <simon.tatham at arm.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M llvm/test/tools/llvm-objdump/ELF/AArch64/elf-aarch64-mapping-symbols.test
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm-objdump,ARM] Fix .byte directives dumping the wrong byte.
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!
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D130360
More information about the All-commits
mailing list