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