]> granicus.if.org Git - llvm/commit
[llvm-dwp] Implement -e option
authorAlexander Shaposhnikov <shal1t712@gmail.com>
Sat, 2 Sep 2017 08:19:01 +0000 (08:19 +0000)
committerAlexander Shaposhnikov <shal1t712@gmail.com>
Sat, 2 Sep 2017 08:19:01 +0000 (08:19 +0000)
commitdce71c7425d1d90a63024a03f8b763d0a8394932
tree7387e2d741ca1514d51458dd44190d115d101dc9
parent2ce7ffd2016ea73f5945f5b23d2d33395725126a
[llvm-dwp] Implement -e option

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

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D37371

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312409 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/a.dwo [new file with mode: 0644]
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/b.dwo [new file with mode: 0644]
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/c.dwo [new file with mode: 0644]
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/d.dwo [new file with mode: 0644]
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/e.dwo [new file with mode: 0644]
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/libd.so [new file with mode: 0755]
test/tools/llvm-dwp/Inputs/dwos_list_from_exec/main [new file with mode: 0755]
test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test [new file with mode: 0644]
tools/llvm-dwp/llvm-dwp.cpp