[LLVMbugs] [Bug 3166] New: Patch to demangle function names when printing stack trace

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Dec 4 19:57:55 PST 2008


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

           Summary: Patch to demangle function names when printing stack
                    trace
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wesleypeck at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2267)
 --> (http://llvm.org/bugs/attachment.cgi?id=2267)
demangle function names during stack trace

When an LLVM assertion fails a stack trace is produced during the subsequent
abort. This patch adds support for demangling the function names printed out
during this stack trace. Function names are demangled only if the header file
dlfcn.h is present and only when compiling LLVM with GCC.

The patch has been tested on OS X 10.5 but should work on linux as well.

-- Wesley Peck


-- 
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