[lldb/DWARF] Fix dwp search path in the separate-debug-file case
authorPavel Labath <pavel@labath.sk>
Mon, 24 Feb 2020 15:45:37 +0000 (16:45 +0100)
committerPavel Labath <pavel@labath.sk>
Mon, 24 Feb 2020 16:01:15 +0000 (17:01 +0100)
commitc9c09ef836b49dba0a6fc784f322a96a86a9b985
treea530fb9dc52566d91a4f2f7e6a6c6a6c0ce9b684
parentc0087164175767bd22dc4336f48098c338aa8e7a
[lldb/DWARF] Fix dwp search path in the separate-debug-file case

The convention is that the dwp file name is derived from the name of the
file holding the executable code, even if the linked portion of the
debug info is elsewhere (objcopy --only-keep-debug).
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/test/CMakeLists.txt
lldb/test/Shell/SymbolFile/DWARF/dwp-separate-debug-file.cpp [new file with mode: 0644]
lldb/test/Shell/helper/toolchain.py