[PATCH] D37371: [llvm-dwp] Add command line option "-e"

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 22:53:53 PDT 2017


alexshap created this revision.

The binutils utility dwp has an option "-e" https://gcc.gnu.org/wiki/DebugFissionDWP
to pass an executable  / library (to get list of dwo files from it).
This option is particularly useful when someone runs the tool manually outside of a build system
(passing the full list of dwo files is not convenient).
This diff adds an implementation "-e" to llvm-dwp.

Test plan: make check-all


Repository:
  rL LLVM

https://reviews.llvm.org/D37371

Files:
  test/tools/llvm-dwp/Inputs/dwos_list_from_exec/a.dwo
  test/tools/llvm-dwp/Inputs/dwos_list_from_exec/b.dwo
  test/tools/llvm-dwp/Inputs/dwos_list_from_exec/main
  test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test
  tools/llvm-dwp/llvm-dwp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37371.113509.patch
Type: text/x-patch
Size: 6004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/fb79bbb1/attachment.bin>


More information about the llvm-commits mailing list