[llvm-commits] [PATH] Add an api to disable PrettyStackTrace
Chris Lattner
clattner at apple.com
Wed Jul 15 15:30:47 PDT 2009
On Jul 15, 2009, at 1:07 PM, Zoltan Varga wrote:
> Hi,
>
> The PrettyStackTrace class adds signal handlers for various
> signals to be able to catch fatal signals. This causes problems for
> host applications which handle signals their own way, like vm's/
> gc's. The attached patch adds a global to switch off the
> registration of signal handlers.
Hi Zoltan,
I'm ok with something like this, but please name it
"DisablePrettyStackTrace" and set it to 0 by default (flipping the
sense of the flag). I think that will make it more obvious that you
have to poke the variable to change the default behavior.
Thanks,
-Chris
More information about the llvm-commits
mailing list