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

             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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
            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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to