[LLVMbugs] [Bug 14743] New: debug info for inlined functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 29 10:07:40 PST 2012


             Bug #: 14743
           Summary: debug info for inlined functions
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: googler
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dblaikie at gmail.com
                CC: dgregor at apple.com, echristo at gmail.com,
                    llvmbugs at cs.uiuc.edu
            Blocks: 14330
    Classification: Unclassified

Clang (really an LLVM issue, I assume) doesn't handle marking inlined regions
as being the relevant subprogram (function) in debug info.

This is visible even without optimizations enabled when
__attribute__((force_inline)) is used in the source.

Observed in gdb.opt/inline-break.exp (granted, this test does also use -O2,
though I assume if we fix the general problem of debug info & inlining it'd
equally apply to inlining via normal optimization and via forced inlining with
the attribute)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list