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

            Bug ID: 45729
           Summary: Use symbol table if debug data doesn't contain address
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-symbolizer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Currently, llvm-symbolizer tries to look up input addresses using the object's
debug data only. If it fails to find the address using the information (most
likely because there is no data), it prints the not found pattern.

GNU's addr2line still prints a symbol name, if --functions is enabled:
C:\Work> addr2line --functions 0x1f5 -e test.elf
a_symbol
??:0

Whilst I haven't looked at how it does this, it seems reasonable to assume that
it is looking up the information from the symbol table. I don't see any reason
why we can't look that information up either.

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

Reply via email to