diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-11-13 14:46:58 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-11-13 14:46:58 +0000 |
| commit | 9ff45982257356051a67be7ffb8b0f98e3c84924 (patch) | |
| tree | d89d2af95335dac822c370b28200f35bdc181180 /llvm/lib/Support/DynamicLibrary.cpp | |
| parent | 41f7c404c91f5abf20e02092f8f53d94ebb4f606 (diff) | |
| download | bcm5719-llvm-9ff45982257356051a67be7ffb8b0f98e3c84924.tar.gz bcm5719-llvm-9ff45982257356051a67be7ffb8b0f98e3c84924.zip | |
[ASan] Do not rely on malloc context in allocator reports.
Invoke a fatal stack trace unwinder when ASan prints allocator-relevant
error reports (double-free, alloc-dealloc-mismatch, invalid-free).
Thus we'll be able to print complete stack trace even if allocation/free
stacks are not stored (malloc_context_size=0).
Based on the patch by Yuri Gribov!
llvm-svn: 194579
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions

