Remove Google specific code.

llvm-svn: 282808
This commit is contained in:
Vitaly Buka 2016-09-29 23:05:35 +00:00
parent e364d1f431
commit 968bcc421d
1 changed files with 0 additions and 7 deletions

View 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)) { \