[PATCH] D22932: Implement llvm-objdump -S and -l

khemant@codeaurora.org via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 13:15:06 PDT 2016


khemant created this revision.
khemant added reviewers: echristo, rafael.
khemant added subscribers: echristo, rafael, llvm-commits.
khemant set the repository for this revision to rL LLVM.
Herald added a subscriber: mehdi_amini.

Implement the source and line number interleaving with the disassembly.

This patch only implements this functionality. I want this commented on and also need ideas on how to test this functionality.
Since DWARF info does not store source but only file and line numbers, we need the source around to actually show the source with -S option. How do I proceed to test this to be checked into llvm repo and not depend on clang driver etc?

Repository:
  rL LLVM

https://reviews.llvm.org/D22932

Files:
  tools/llvm-objdump/CMakeLists.txt
  tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22932.65975.patch
Type: text/x-patch
Size: 7339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160728/385f5213/attachment.bin>


More information about the llvm-commits mailing list