Support: Clean up TSan annotations.
[oota-llvm.git] / lib / Support / Valgrind.cpp
index 078d705183d05b89fe440fc1adf634104f678dec..703448524ed9628afb9b280cefa95a6deda5cf38 100644 (file)
@@ -52,14 +52,3 @@ void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) {
 }
 
 #endif  // !HAVE_VALGRIND_VALGRIND_H
-
-// These functions require no implementation, tsan just looks at the arguments
-// they're called with.
-extern "C" {
-void AnnotateHappensBefore(const char *file, int line,
-                           const volatile void *cv) {}
-void AnnotateHappensAfter(const char *file, int line,
-                          const volatile void *cv) {}
-void AnnotateIgnoreWritesBegin(const char *file, int line) {}
-void AnnotateIgnoreWritesEnd(const char *file, int line) {}
-}