<p dir="ltr"><br>
On Jan 27, 2015 9:16 PM, "Reid Kleckner" <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:<br>
><br>
> In theory, I am happy to suppress more dialog boxes more often. In practice, suppressing the dialog often prevents our stack dumper from kicking in. If you can try to preserve any stack dumping we have, then yeah, let's turn them off unconditionally. :)<br>
><br>
> I am concerned about disabling crash diagnostics inside lib LTO. We don't generally call the signal setup code outside main. I'd like to understand why you need to change global settings like this from a library before doing it.<br>
></p>
<p dir="ltr">It's actually not global. It's per image. Setting it in the dll doesn't change what happens when the main app crashes. Same for the other direction. <br>
My main concern is a user of lib lto that doesn't have stderr hooked up anywhere. If we don't have that, then i don't really see a problem. </p>
<p dir="ltr">> On Tue, Jan 27, 2015 at 10:40 AM, Michael Spencer <<a href="mailto:bigcheesegs@gmail.com">bigcheesegs@gmail.com</a>> wrote:<br>
>><br>
>> We have multiple different places where we handle dialog box<br>
>> suppression to various degrees. I recently discovered another place we<br>
>> need to do it, and so I wanted to unify all of them.<br>
>><br>
>> We currently have most of this suppression logic behind the<br>
>> LLVM_DISABLE_CRASH_REPORT environment variable. I would like to make<br>
>> it unconditional. I don't believe we have any users that desire the<br>
>> dialog box behavior, as all of our tools are used via the command line<br>
>> and can report crashes via stderr.<br>
>><br>
>> I wanted to check with other Windows users/vendors for exactly which<br>
>> behavior they wanted.<br>
>><br>
>> The case where I need to add it now is the lto shared library. The CRT<br>
>> crash reporting state doesn't seem to be replicated across DLL<br>
>> boundaries, so the main application can't actually control this<br>
>> currently. Should we unconditionally disable here? or add an API to<br>
>> control it?<br>
>><br>
>> - Michael Spencer<br>
><br>
><br>
</p>