[compiler-rt] r298884 - Fix missing sanitizer platform include
Francis Ricci via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 13:22:02 PDT 2017
Author: fjricci
Date: Mon Mar 27 15:22:02 2017
New Revision: 298884
URL: http://llvm.org/viewvc/llvm-project?rev=298884&view=rev
Log:
Fix missing sanitizer platform include
Modified:
compiler-rt/trunk/lib/lsan/lsan_linux.cc
Modified: compiler-rt/trunk/lib/lsan/lsan_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_linux.cc?rev=298884&r1=298883&r2=298884&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_linux.cc (original)
+++ compiler-rt/trunk/lib/lsan/lsan_linux.cc Mon Mar 27 15:22:02 2017
@@ -11,6 +11,8 @@
//
//===----------------------------------------------------------------------===//
+#include "sanitizer_common/sanitizer_platform.h"
+
#if SANITIZER_LINUX
#include "lsan_allocator.h"
@@ -23,4 +25,3 @@ AllocatorCache *GetAllocatorCache() { re
} // namespace __lsan
#endif // SANITIZER_LINUX
-
More information about the llvm-commits
mailing list