diff options
| author | Francis Ricci <francisjricci@gmail.com> | 2017-03-27 20:22:02 +0000 |
|---|---|---|
| committer | Francis Ricci <francisjricci@gmail.com> | 2017-03-27 20:22:02 +0000 |
| commit | f1c2f2a668db86fc2143cfeeb3ff71579afabfbc (patch) | |
| tree | 99d36c069d313e2c12137c553a900f26d683104c /compiler-rt/lib/lsan/lsan_linux.cc | |
| parent | 6c1d2b4cb2dd5f17c4255d2c703d71707b1543da (diff) | |
| download | bcm5719-llvm-f1c2f2a668db86fc2143cfeeb3ff71579afabfbc.tar.gz bcm5719-llvm-f1c2f2a668db86fc2143cfeeb3ff71579afabfbc.zip | |
Fix missing sanitizer platform include
llvm-svn: 298884
Diffstat (limited to 'compiler-rt/lib/lsan/lsan_linux.cc')
| -rw-r--r-- | compiler-rt/lib/lsan/lsan_linux.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_linux.cc b/compiler-rt/lib/lsan/lsan_linux.cc index 944551c7775..c0b6f4b6505 100644 --- a/compiler-rt/lib/lsan/lsan_linux.cc +++ b/compiler-rt/lib/lsan/lsan_linux.cc @@ -11,6 +11,8 @@ // //===----------------------------------------------------------------------===// +#include "sanitizer_common/sanitizer_platform.h" + #if SANITIZER_LINUX #include "lsan_allocator.h" @@ -23,4 +25,3 @@ AllocatorCache *GetAllocatorCache() { return &allocator_cache; } } // namespace __lsan #endif // SANITIZER_LINUX - |

