[llvm-bugs] [Bug 49811] New: [llvm-pdbutil] Feature: dump symbol info by function name

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 1 14:53:31 PDT 2021


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

            Bug ID: 49811
           Summary: [llvm-pdbutil] Feature: dump symbol info by function
                    name
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-dwarfdump
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org

While investigating a debug info quality issue, I wanted to dump the symbol
records of a particular function. Dumping all symbol info for the entire PDB is
a bad idea: a 2.8GB PDB will probably result in 10s of GBs of text. What I did
instead was to dump the globals, grep for the function I was debugging, look up
the module, dump the module in question, then search for the S_GPROC32, and
look at those records.

This could be greatly simplified with a bit of programming in llvm-pdbutil.

-- 
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/20210401/5d8a4541/attachment.html>


More information about the llvm-bugs mailing list