[PATCH] D13360: [llvm-objdump] Teach -d about AArch64 mapping symbols

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 12:22:38 PDT 2015


davide created this revision.
davide added reviewers: rafael, Bigcheese.
davide added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

AArch64 uses $d* and $x* to interleave between text and data.
llvm-objdump didn't know about this so it ended up printing garbage. This is the initial support to to teach llvm-objdump how to behave correctly in this situation.
I think llvm-objdump needs a lot of love. For now, this is a missing functionality that blocks my lld AArch64 testing, so I  implemented it in the most straightforward way. Comments are welcome, and appreciated.

http://reviews.llvm.org/D13360

Files:
  test/tools/llvm-objdump/AArch64/elf-aarch64-mapping-symbols.test
  tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13360.36280.patch
Type: text/x-patch
Size: 3977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151001/8f1e8839/attachment.bin>


More information about the llvm-commits mailing list