[LLVMbugs] [Bug 22643] New: Keep full namespace::class::method() names for inlined functions in the -gline-tables-only mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 20 01:17:55 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22643

            Bug ID: 22643
           Summary: Keep full namespace::class::method() names for inlined
                    functions in the -gline-tables-only mode
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: glider at google.com
                CC: dvyukov at google.com, jyasskin at google.com,
                    kcc at google.com, llvmbugs at cs.uiuc.edu,
                    samsonov at google.com
    Classification: Unclassified

Right now Clang in -gline-tables-only mode stores short function names for
every function (both inlined and non-inlined) in addition to its file:line
info.
When symbolizing stacks from sanitizer tools (which typically build with
-gline-tables-only), llvm-symbolizer queries the symbol tables for the fully
qualified function names for non-inlined functions, while for inline ones only
the short names are available.

Is it possible to make -gline-tables-only store the full names for inlined
functions and remove the non-inlined function names from debug info at all?
This way we'll have full names for both inlined and non-inlined functions, and
the binary size will not probably increase much.

-- 
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/20150220/b1a6bd6a/attachment.html>


More information about the llvm-bugs mailing list