summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_win.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-11-07 06:33:06 +0000
committerAlexey Samsonov <samsonov@google.com>2013-11-07 06:33:06 +0000
commite13f775a63d1aef3e152a01f81a80c714ae4acb9 (patch)
tree3a35a87a6a4adc19101d5fc9d4b169ebd9f33d99 /compiler-rt/lib/sanitizer_common/sanitizer_win.cc
parent14bdd7a925a003e1175a946ef119eb53b267abd9 (diff)
downloadbcm5719-llvm-e13f775a63d1aef3e152a01f81a80c714ae4acb9.tar.gz
bcm5719-llvm-e13f775a63d1aef3e152a01f81a80c714ae4acb9.zip
[Sanitizer] Call Windows unwinder 'slow' and share StackTrace::Unwind across all platforms. No functionality change.
llvm-svn: 194193
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_win.cc')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_win.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc
index 77e62180f9d..8c4c9b623fb 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc
@@ -376,11 +376,7 @@ void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
#endif
}
-void StackTrace::Unwind(uptr max_depth, uptr pc, uptr bp, uptr stack_top,
- uptr stack_bottom, bool fast) {
- (void)fast;
- (void)stack_top;
- (void)stack_bottom;
+void StackTrace::SlowUnwindStack(uptr pc, uptr max_depth) {
void *tmp[kStackTraceMax];
// FIXME: CaptureStackBackTrace might be too slow for us.
OpenPOWER on IntegriCloud