[LLVMbugs] [Bug 14511] New: -O0 default of omitting frame pointers degrades debuggability of code
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Tue Dec  4 13:09:53 PST 2012
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=14511
             Bug #: 14511
           Summary: -O0 default of omitting frame pointers degrades
                    debuggability of code
           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
For now I'm running the GDB 7.5 test suite with clang forced stack frames on
(-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer) as this adversely
affects debuggability (gdb has some trouble printing local variables & breaks
in slightly different locations).
The specific severity of this issue is unclear, but I wanted to track this &
revisit it when we've got rid of the coarse-grained baselining in the GDB 7.5
suite & then we can try toggling these flags back & assess what breaks to see
if that's sufficient justification to change Clang's defaults or otherwise
address this issue.
-- 
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