[llvm-commits] [compiler-rt] r170191 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
Dmitry Vyukov
dvyukov at google.com
Fri Dec 14 04:24:11 PST 2012
Author: dvyukov
Date: Fri Dec 14 06:24:11 2012
New Revision: 170191
URL: http://llvm.org/viewvc/llvm-project?rev=170191&view=rev
Log:
tsan: fix build
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc?rev=170191&r1=170190&r2=170191&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc Fri Dec 14 06:24:11 2012
@@ -380,6 +380,7 @@
return true;
}
+#ifndef SANITIZER_GO
//------------------------- SlowUnwindStack -----------------------------------
#ifdef __arm__
#define UNWIND_STOP _URC_END_OF_STACK
@@ -431,6 +432,8 @@
this->trace[0] = pc;
}
+#endif // #ifndef SANITIZER_GO
+
} // namespace __sanitizer
#endif // __linux__
More information about the llvm-commits
mailing list