summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2013-05-23 12:54:35 +0000
committerAlexander Potapenko <glider@google.com>2013-05-23 12:54:35 +0000
commit22e92fa9549c8fb449841350a574f8c5391e0af3 (patch)
tree9723e035adb5b139487a9bd04fcfe71602a2d5d2
parentbfbd37e6e78e49b3681ea8ca8125ded6f211982e (diff)
downloadbcm5719-llvm-22e92fa9549c8fb449841350a574f8c5391e0af3.tar.gz
bcm5719-llvm-22e92fa9549c8fb449841350a574f8c5391e0af3.zip
[TSan] Try to fix the Go-TSan build.
llvm-svn: 182582
-rw-r--r--compiler-rt/lib/tsan/go/tsan_go.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/go/tsan_go.cc b/compiler-rt/lib/tsan/go/tsan_go.cc
index 5651fdf6f02..957d5821128 100644
--- a/compiler-rt/lib/tsan/go/tsan_go.cc
+++ b/compiler-rt/lib/tsan/go/tsan_go.cc
@@ -220,3 +220,11 @@ void ___chkstk_ms(void) {
} // extern "C"
} // namespace __tsan
+
+namespace __sanitizer {
+
+void SymbolizerPrepareForSandboxing() {
+ // Nothing to do here for Go.
+}
+
+} // namespace __sanitizer
OpenPOWER on IntegriCloud