I submitted a proposal patch that sets abort_on_error=1 by default on OS 
X: http://reviews.llvm.org/D7203, http://reviews.llvm.org/D7204.

Kuba


On OS X, when running GUI apps, there is no console output at all, and that 
> means that you will just not see the ASan report, and it will not be stored 
> anywhere.  Embedding the report into the crashlogs sounds look like a good 
> idea, but having abort_on_error=1 is a prerequisite for that.  Also the 
> behavior makes more sense even if the report is not contained in the 
> crashlog, because you at least get a current stacktrace containing 
> "__asan_report_error" and pointing to the invalid memory access.  Without 
> that, the GUI program just quits and you get no indication of what happened.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to