[lldb-dev] [Bug 49340] New: SymbolFileDWARF::ResolveSymbolContext search files from index 0 on for DWARF5

via lldb-dev lldb-dev at lists.llvm.org
Wed Feb 24 05:49:54 PST 2021


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: lldb-dev at lists.llvm.org
          Reporter: kimanh at google.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20210224/12274acc/attachment.html>


More information about the lldb-dev mailing list