diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2016-06-14 12:39:22 +0000 | 
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2016-06-14 12:39:22 +0000 | 
| commit | be7aa544f00eefb08ed442d6f967203c1369f95a (patch) | |
| tree | b971271e95f6fd346fd836f50f5d55f12259f54e /compiler-rt/lib/esan/esan_interceptors.cpp | |
| parent | 223676d2ccc94fecb68cc0c00c02a6ee9d7aec9d (diff) | |
| download | bcm5719-llvm-be7aa544f00eefb08ed442d6f967203c1369f95a.tar.gz bcm5719-llvm-be7aa544f00eefb08ed442d6f967203c1369f95a.zip | |
Revert r272591, http://lab.llvm.org:8011/builders/clang-x64-ninja-win7 has been broken since this landed.
llvm-svn: 272659
Diffstat (limited to 'compiler-rt/lib/esan/esan_interceptors.cpp')
| -rw-r--r-- | compiler-rt/lib/esan/esan_interceptors.cpp | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/compiler-rt/lib/esan/esan_interceptors.cpp b/compiler-rt/lib/esan/esan_interceptors.cpp index 7aefeb6646e..5d4edb51d99 100644 --- a/compiler-rt/lib/esan/esan_interceptors.cpp +++ b/compiler-rt/lib/esan/esan_interceptors.cpp @@ -17,7 +17,6 @@  #include "interception/interception.h"  #include "sanitizer_common/sanitizer_common.h"  #include "sanitizer_common/sanitizer_libc.h" -#include "sanitizer_common/sanitizer_linux.h"  #include "sanitizer_common/sanitizer_stacktrace.h"  using namespace __esan; // NOLINT @@ -398,11 +397,6 @@ INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act,  // This is required to properly use internal_sigaction.  namespace __sanitizer {  int real_sigaction(int signum, const void *act, void *oldact) { -  if (REAL(sigaction) == nullptr) { -    // With an instrumented allocator, this is called during interceptor init -    // and we need a raw syscall solution. -    return internal_sigaction_syscall(signum, act, oldact); -  }    return REAL(sigaction)(signum, (const struct sigaction *)act,                           (struct sigaction *)oldact);  } | 

