summaryrefslogtreecommitdiff
path: root/lib/asan/asan_linux.cc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-12-13 12:31:55 +0000
committerKostya Serebryany <kcc@google.com>2012-12-13 12:31:55 +0000
commit49d616ec42ab420ce3ebcbe846b21e3729adf5ac (patch)
tree638882154fca6e08abe9966854147979da425317 /lib/asan/asan_linux.cc
parent75f7503ad2b3c145711ae13a0990f1ecfb2ed411 (diff)
[asan] pop the internal stack frames in SlowUnwindStack, extend the test to check this
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_linux.cc')
-rw-r--r--lib/asan/asan_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_linux.cc b/lib/asan/asan_linux.cc
index 02a3d144c..ff91e8929 100644
--- a/lib/asan/asan_linux.cc
+++ b/lib/asan/asan_linux.cc
@@ -129,7 +129,7 @@ void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp, bool fast) {
fast = false;
#endif
if (!fast)
- return stack->SlowUnwindStack(pc, max_s, 3);
+ return stack->SlowUnwindStack(pc, max_s);
stack->size = 0;
stack->trace[0] = pc;
if (max_s > 1) {