summaryrefslogtreecommitdiff
path: root/lib/asan/asan_thread.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-03-04 13:12:25 +0000
committerAlexey Samsonov <samsonov@google.com>2014-03-04 13:12:25 +0000
commit1f5d9ca9ff46ab51b1f0567f1722fed810af0e6c (patch)
tree5154a3a9d80667dbc3e840be25192db30e3bfc90 /lib/asan/asan_thread.h
parentcf0d108fb5eabb382662c583787c609adbf3ac0f (diff)
[ASan] Speed up stack trace unwinding for stacks of size 2.
Summary: We don't need to do any work in this case - just take the current PC and caller PC. Reviewers: eugenis, ygribov Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2936 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_thread.h')
-rw-r--r--lib/asan/asan_thread.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/asan/asan_thread.h b/lib/asan/asan_thread.h
index 6bcb01ba3..1bce25c28 100644
--- a/lib/asan/asan_thread.h
+++ b/lib/asan/asan_thread.h
@@ -17,7 +17,6 @@
#include "asan_allocator.h"
#include "asan_internal.h"
#include "asan_fake_stack.h"
-#include "asan_stack.h"
#include "asan_stats.h"
#include "sanitizer_common/sanitizer_common.h"
#include "sanitizer_common/sanitizer_libc.h"