diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-12-28 01:27:18 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-12-28 01:27:18 +0000 |
| commit | 3408b497f9f4517b4e7a62e1da4a6745dde41185 (patch) | |
| tree | 98d64634805272937d0416fba88389947dd35510 /compiler-rt/lib/asan/asan_linux.cc | |
| parent | 5ede950df9e99dc813f9251173cc6d38bf6293e8 (diff) | |
| download | bcm5719-llvm-3408b497f9f4517b4e7a62e1da4a6745dde41185.tar.gz bcm5719-llvm-3408b497f9f4517b4e7a62e1da4a6745dde41185.zip | |
Revert "[asan] Support running without /proc.", +1
Revert r350104 "[asan] Fix build on windows."
Revert r350101 "[asan] Support running without /proc."
These changes break Mac build, too.
llvm-svn: 350112
Diffstat (limited to 'compiler-rt/lib/asan/asan_linux.cc')
| -rw-r--r-- | compiler-rt/lib/asan/asan_linux.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_linux.cc b/compiler-rt/lib/asan/asan_linux.cc index 71006bfd056..a150b1955d6 100644 --- a/compiler-rt/lib/asan/asan_linux.cc +++ b/compiler-rt/lib/asan/asan_linux.cc @@ -210,8 +210,6 @@ void AsanCheckIncompatibleRT() { } } else { if (__asan_rt_version == ASAN_RT_VERSION_UNDEFINED) { - if (!MemoryMappingLayout::IsAvailable()) - return; // Ensure that dynamic runtime is not present. We should detect it // as early as possible, otherwise ASan interceptors could bind to // the functions in dynamic ASan runtime instead of the functions in |

