summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.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_posix_libcdep.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_posix_libcdep.cc')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
index c28822fb492..6032f520dee 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
@@ -89,22 +89,6 @@ int internal_isatty(fd_t fd) {
return isatty(fd);
}
-#ifndef SANITIZER_GO
-void StackTrace::Unwind(uptr max_depth, uptr pc, uptr bp, uptr stack_top,
- uptr stack_bottom, bool fast) {
- // Check if fast unwind is available. Fast unwind is the only option on Mac.
- if (!SANITIZER_CAN_FAST_UNWIND)
- fast = false;
- else if (SANITIZER_MAC)
- fast = true;
-
- if (!fast)
- SlowUnwindStack(pc, max_depth);
- else
- FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth);
-}
-#endif // SANITIZER_GO
-
} // namespace __sanitizer
#endif
OpenPOWER on IntegriCloud