summaryrefslogtreecommitdiff
path: root/lib/tsan/go
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
commit3086d7bd6456e43b6695c8356db364ade826dce3 (patch)
tree6409dbdf4a4611d820c6e82b322ebfcb62f0f988 /lib/tsan/go
parent2a5c67895d8da24c37701af37e24379f3f3ae838 (diff)
downloadcompiler-rt-3086d7bd6456e43b6695c8356db364ade826dce3.tar.gz
compiler-rt-3086d7bd6456e43b6695c8356db364ade826dce3.tar.bz2
compiler-rt-3086d7bd6456e43b6695c8356db364ade826dce3.tar.xz
[TSan] Try to fix the Go-TSan build.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/go')
-rw-r--r--lib/tsan/go/tsan_go.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tsan/go/tsan_go.cc b/lib/tsan/go/tsan_go.cc
index 5651fdf6..957d5821 100644
--- a/lib/tsan/go/tsan_go.cc
+++ b/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