[Bug 33875] New: TestWithModuleDebugging fails since llvm r308708

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@lists.llvm.org
Reporter labath@google.com
CC llvm-bugs@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.

Adrian Prantl changed bug 33875

What | Removed | Added |

  • | - | - |
    Resolution | — | FIXED |
    Status | ASSIGNED | RESOLVED |

Comment # 4 on bug 33875 from Adrian Prantl

Test re-enabled and passing in LLDB r308905.