diff options
author | Kostya Serebryany <kcc@google.com> | 2012-12-13 09:34:23 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-12-13 09:34:23 +0000 |
commit | a30c8f9eac981dcf137e84226810b760e35c7be1 (patch) | |
tree | a0b04b76b22b48d7518b1dbdd6dbf728530f01b6 /lib/asan/asan_report.cc | |
parent | d62237995d0fc50697e375ea50f015e996162884 (diff) | |
download | compiler-rt-a30c8f9eac981dcf137e84226810b760e35c7be1.tar.gz compiler-rt-a30c8f9eac981dcf137e84226810b760e35c7be1.tar.bz2 compiler-rt-a30c8f9eac981dcf137e84226810b760e35c7be1.tar.xz |
[asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.cc')
-rw-r--r-- | lib/asan/asan_report.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc index 558e4f20..5ad91156 100644 --- a/lib/asan/asan_report.cc +++ b/lib/asan/asan_report.cc @@ -358,7 +358,7 @@ void ReportSIGSEGV(uptr pc, uptr sp, uptr bp, uptr addr) { (void*)addr, (void*)pc, (void*)sp, (void*)bp, asanThreadRegistry().GetCurrentTidOrInvalid()); Printf("AddressSanitizer can not provide additional info.\n"); - GET_STACK_TRACE_WITH_PC_AND_BP(kStackTraceMax, pc, bp); + GET_STACK_TRACE_FATAL(pc, bp); PrintStack(&stack); } @@ -506,7 +506,7 @@ void __asan_report_error(uptr pc, uptr bp, uptr sp, access_size, (void*)addr, curr_tid, ThreadNameWithParenthesis(curr_tid, tname, sizeof(tname))); - GET_STACK_TRACE_WITH_PC_AND_BP(kStackTraceMax, pc, bp); + GET_STACK_TRACE_FATAL(pc, bp); PrintStack(&stack); DescribeAddress(addr, access_size); |