[llvm-bugs] [Bug 28293] New: LLDB can't find split debug info if the debuggee has been moved form build directory

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 24 11:04:19 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28293

            Bug ID: 28293
           Summary: LLDB can't find split debug info if the debuggee has
                    been moved form build directory
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: vadimcn at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

(This situation often arises when build servers are employed)

I think this happens because LLDB simply takes DW_AT_comp_dir at the face value
here:
https://github.com/llvm-mirror/lldb/blob/876d71dc6c37f23c8ae9d219705d06c6def3f354/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp#L1778-1794

There should be a way to remap debug info paths similarly to what is done for
source with 'target.source-map'.  I would even argue that it should be the same
setting for both.

Another good candidate seems to be the 'target.debug-file-search-paths'
setting.  LLDB could probe each of these directories (also probably the
directory where the debuggee is located) combined with the value of
DW_AT_GNU_dwo_name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160624/45100fa2/attachment.html>


More information about the llvm-bugs mailing list