[LLVMbugs] [Bug 16276] ASAN: Forward real abort(3) once done handling errors and printing the stack

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 11 01:11:33 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16276

Kostya Serebryany <kcc at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from Kostya Serebryany <kcc at google.com> ---
>> what is the reason for this not being the default behavior? 
Some of it are historical reasons (e.g. valgrind does that).
Some of it is performance considerations: _exit(1) is faster than abort() 
in some of the performance-critical settings. 

>> I just got a completely different stack trace when enabling this.

Hm? That's weird (unless there is a race in the code which 
just makes the reports different from run to run)


I am closing the bug now since the functionality is in place.
We will probably not change the defaults.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130611/81430d43/attachment.html>


More information about the llvm-bugs mailing list