projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7171b2
)
[NFC][TSan] Don't define GetStackTrace when compiling for Go
author
Julian Lettner
<jlettner@apple.com>
Thu, 28 Feb 2019 00:43:43 +0000
(
00:43
+0000)
committer
Julian Lettner
<jlettner@apple.com>
Thu, 28 Feb 2019 00:43:43 +0000
(
00:43
+0000)
rdar://
48455255
llvm-svn: 355053
compiler-rt/lib/tsan/rtl/tsan_stack_trace.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_stack_trace.cc
b/compiler-rt/lib/tsan/rtl/tsan_stack_trace.cc
index
2a8de0c
..
e632a93
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_stack_trace.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_stack_trace.cc
@@
-49,6
+49,7
@@
void VarSizeStackTrace::ReverseOrder() {
} // namespace __tsan
+#if !SANITIZER_GO
void __sanitizer::GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
uptr pc, uptr bp, void *context,
bool request_fast_unwind) {
@@
-60,3
+61,4
@@
void __sanitizer::GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
} else
stack->Unwind(kStackTraceMax, pc, 0, context, 0, 0, false);
}
+#endif