summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc b/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc
index 4d347469a8b..0a796d91a3d 100644
--- a/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc
+++ b/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc
@@ -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)) { \
OpenPOWER on IntegriCloud