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

            Bug ID: 49340
           Summary: SymbolFileDWARF::ResolveSymbolContext search files
                    from index 0 on for DWARF5
           Product: lldb
           Version: 11.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Currently ResolveSymbolContext in `SymbolFileDWARF` is looking through the
support files, starting from index 1. This is correct for DWARF4, but with
DWARF5 this changes since the file index 0 is also used, so the search should
start from index 0. Current version:

`sc.comp_unit->GetSupportFiles().FindFileIndex(1, file_spec, true);`

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to