[LLVMbugs] [Bug 19292] New: llvm::EnablePrettyStackTrace() should have a corresponding llvm::DisablePrettyStackTrace()

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 31 07:51:29 PDT 2014


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

            Bug ID: 19292
           Summary: llvm::EnablePrettyStackTrace() should have a
                    corresponding llvm::DisablePrettyStackTrace()
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: brian.cain at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

If I try to generate an AST with clang::ParseAST(), it will end up removing any
previously-registered (fatal) signal handlers.

clang::ParseAST() should restore the original signal handlers on exit.  But
before I can open a bug against clang, I believe the support for disabling and
restoring the original signal handler must be added to the Support libraries.

Please create an llvm::DisablePrettyStackTrace() which restores the original
signal handlers replaced, and/or a class to preserve this data if that makes
more sense.

-- 
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/20140331/e1c5de36/attachment.html>


More information about the llvm-bugs mailing list