[compiler-rt] r196780 - Fix Windows build.
Sergey Matveev
earthdok at google.com
Mon Dec 9 05:24:45 PST 2013
Author: smatveev
Date: Mon Dec 9 07:24:44 2013
New Revision: 196780
URL: http://llvm.org/viewvc/llvm-project?rev=196780&view=rev
Log:
Fix Windows build.
Modified:
compiler-rt/trunk/lib/asan/asan_poisoning.cc
Modified: compiler-rt/trunk/lib/asan/asan_poisoning.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_poisoning.cc?rev=196780&r1=196779&r2=196780&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_poisoning.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_poisoning.cc Mon Dec 9 07:24:44 2013
@@ -296,7 +296,7 @@ void __sanitizer_annotate_contiguous_con
// --- Implementation of LSan-specific functions --- {{{1
namespace __lsan {
bool WordIsPoisoned(uptr addr) {
- return __asan_region_is_poisoned(addr, sizeof(uptr));
+ return (__asan_region_is_poisoned(addr, sizeof(uptr)) != 0);
}
}
More information about the llvm-commits
mailing list