Remove Google specific code.
authorVitaly Buka <vitalybuka@google.com>
Thu, 29 Sep 2016 23:05:35 +0000 (23:05 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 29 Sep 2016 23:05:35 +0000 (23:05 +0000)
llvm-svn: 282808

compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc

index 4d34746..0a796d9 100644 (file)
@@ -110,13 +110,6 @@ struct GetTypes<R(Args...)> {
 // C-style interface around internal sanitizer libc functions.
 extern "C" {
 
-// Libc++ calls these hooks from __cxa_guard_acquire. Normally, they should go
-// into google3 fiber scheduler code. But in the canned symbolizer they are
-// both unnecessary and lead to deadlocks as symbolizer calls arbitrary google3
-// code during race reporting.
-void __google_potentially_blocking_region_begin() {}
-void __google_potentially_blocking_region_end() {}
-
 #define RETURN_OR_SET_ERRNO(T, res)                   \
   int rverrno;                                        \
   if (__sanitizer::internal_iserror(res, &rverrno)) { \