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

Kostya Serebryany <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #1 from Kostya Serebryany <[email protected]> ---
This is expected. 
>From https://code.google.com/p/address-sanitizer/wiki/Flags (just added that):

disable_core     0/1     Disable the core dumper. Since asan consumes many
terabytes of virtual memory on 64-bit, dumping core is unwise. Default: 0 on
32-bit and 1 on 64-bit.

% clang -fsanitize=address setrlimit.c ; ./a.out 
ret: -1, errno: 1, message: Operation not permitted
% clang -fsanitize=address setrlimit.c ; ASAN_OPTIONS=disable_core=0 ./a.out 
ret: 0, errno: 0, message: Success
% clang -m32 -fsanitize=address setrlimit.c ; ./a.out 
ret: 0, errno: 0, message: Success
% 


Why would you want to have a 20Tb core file on your disk?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to