[llvm-commits] [PATH] Add an api to disable PrettyStackTrace

Zoltan Varga vargaz at gmail.com
Wed Jul 15 16:13:54 PDT 2009


Hi,

  Here is an updated patch.

                    Zoltan

On Thu, Jul 16, 2009 at 12:30 AM, Chris Lattner <clattner at apple.com> wrote:

>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090716/6eb3a0a0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-support.diff
Type: text/x-patch
Size: 1459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090716/6eb3a0a0/attachment.bin>


More information about the llvm-commits mailing list