[lldb-dev] [Bug 33875] New: TestWithModuleDebugging fails since llvm r308708

via lldb-dev lldb-dev at lists.llvm.org
Fri Jul 21 05:48:35 PDT 2017


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

            Bug ID: 33875
           Summary: TestWithModuleDebugging fails since llvm r308708
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org

This commit added skeleton compile unit to the generated module. This extra
compile unit confuses lldb's dwarf parsing logic, because it thinks this is a
DWO compile unit. However, the rest of the module contains regular compile
units. Since we have a DWO compile unit at offset zero, the DIE queries get
forwarded to the compile units in the pch module, even though the regular dwarf
behavior would be to first look up the compile unit based on the die offset
alone, and then fetch the DIE from that unit.

I'm not really sure what would be the best fix for this situation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170721/c99554cd/attachment.html>


More information about the lldb-dev mailing list