[llvm-bugs] [Bug 33823] New: llvm-symbolizer fails to read symbolnames from a .gnu_debuglink file when using symbol tables

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 17 14:23:47 PDT 2017


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

            Bug ID: 33823
           Summary: llvm-symbolizer fails to read symbolnames from a
                    .gnu_debuglink file when using symbol tables
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: npl at chello.at
                CC: llvm-bugs at lists.llvm.org

Hello,

I am trying to extract information using llvm-symbolize and a executable that
uses a '.gnu_debuglink' section to point to the separated debug-information.

This works for finding the source-file and -line, but the functionname is
always 'dlerror'.

Adding the flag -use-symbol-table=false fixes the behavior, but this is
unexpected as the help says that entries in the symbol table are "preferred",
but they appear to cmpletely disable searching the file with debug information.

similarly passing the file with debug-information will result in functionames
being available (this file does not have a symboltable)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170717/d3c6ea11/attachment.html>


More information about the llvm-bugs mailing list