[llvm-bugs] [Bug 43831] New: llvm-symbolizer should produce inlined call frames with PDBs

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 28 13:41:54 PDT 2019


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

            Bug ID: 43831
           Summary: llvm-symbolizer should produce inlined call frames
                    with PDBs
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-symbolizer
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org

llvm-symbolizer is mainly used by Windows ASan and LLVM itself to print stack
traces. If it is built with DIA support, it prefers to use DIA, which
implements the "get inlining info API" by delegating to the main symbolization
API:
https://github.com/llvm/llvm-project/blob/9c8282a9b33084d95c579e9f76daddfcd2f74c32/llvm/lib/DebugInfo/PDB/PDBContext.cpp#L86

We should print good inline call frame info by default, one way or another:
1. We could implement the API calls via DIA to get this info.
2. We could default to the native debug info libraries and interpret the inline
line table info ourselves.

Either way, llvm-symbolizer should provide this info by default, since LLVM
puts work into producing it.

-- 
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/20191028/7f72da61/attachment.html>


More information about the llvm-bugs mailing list