Alexander Shaposhnikov
64b4bcfa05
[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
2017-10-10 23:28:34 +00:00
..
2017-08-25 13:56:14 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-08-16 11:45:10 +00:00
2017-04-24 22:11:10 +00:00
2017-08-16 11:45:10 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-06-29 14:32:17 +00:00
2016-09-15 08:53:33 +00:00
2016-09-06 20:57:50 +00:00
2017-03-04 01:30:05 +00:00
2017-07-31 17:02:52 +00:00
2017-07-31 17:02:52 +00:00
2017-06-29 14:32:17 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2017-03-03 06:14:38 +00:00
2017-09-05 19:01:01 +00:00
2016-09-06 20:57:50 +00:00
2017-06-29 14:32:17 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2016-10-28 18:14:43 +00:00
2016-09-06 20:57:50 +00:00
2017-06-29 14:32:17 +00:00
2016-09-06 20:57:50 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 06:14:38 +00:00
2017-07-31 10:26:19 +00:00
2016-09-15 08:53:33 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2017-05-11 22:08:05 +00:00
2016-09-06 20:57:50 +00:00
2017-10-09 00:18:45 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-07-31 17:02:52 +00:00
2017-07-31 17:02:52 +00:00
2017-01-06 00:38:06 +00:00
2017-02-02 21:39:50 +00:00
2017-03-15 09:06:58 +00:00
2017-03-03 20:56:28 +00:00
2017-05-02 10:17:30 +00:00
2017-05-02 10:17:30 +00:00
2017-10-10 23:28:34 +00:00
2017-08-25 13:56:14 +00:00
2017-06-29 14:32:17 +00:00
2017-03-03 06:14:38 +00:00
2017-07-25 20:12:25 +00:00
2016-09-06 20:57:50 +00:00
2017-08-25 13:56:14 +00:00
2017-08-25 13:56:14 +00:00
2017-10-03 19:56:21 +00:00
2017-10-03 19:56:21 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00