summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2017-10-10 23:28:34 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2017-10-10 23:28:34 +0000
commit64b4bcfa05df59cb687c1c5309731257b224135f (patch)
treeb8f91167f9e7a8b47432690df0e92e31943759fd /llvm/lib/CodeGen/MachineInstr.cpp
parented94f361548d4ae8b1f2e99c22ffa49edfe8f6ec (diff)
downloadbcm5719-llvm-64b4bcfa05df59cb687c1c5309731257b224135f.tar.gz
bcm5719-llvm-64b4bcfa05df59cb687c1c5309731257b224135f.zip
[lldb] Enable using out-of-tree dwps
Previously LLDB required the DWP file to be located next to the executable file. This diff uses the helper function Symbols::LocateExecutableSymbolFile to search for DWP files in the standard locations for debug symbols. Test plan: Build a toy test example: main.cpp clang -gsplit-dwarf -g -O0 main.cpp -o main.exe llvm-dwp -e main.exe -o main.exe.dwp mkdir -p debug_symbols mv main.exe.dwp debug_symbols/main.exe.dwp Run lldb: lldb settings set target.debug-file-search-paths ./debug_symbols file ./main.exe br set --name f run Check that debugging works: setting breakpoints, printing local variables. Differential revision: https://reviews.llvm.org/D38568 llvm-svn: 315387
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud