[compiler-rt] r240541 - asan: fix 32-bit build

Dmitry Vyukov dvyukov at google.com
Wed Jun 24 06:27:57 PDT 2015


Author: dvyukov
Date: Wed Jun 24 08:27:56 2015
New Revision: 240541

URL: http://llvm.org/viewvc/llvm-project?rev=240541&view=rev
Log:
asan: fix 32-bit build


Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h?rev=240541&r1=240540&r2=240541&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h Wed Jun 24 08:27:56 2015
@@ -46,7 +46,7 @@ const uptr kMaxThreadStackSize = 1 << 30
 
 // Denotes fake PC values that come from JIT/JAVA/etc.
 // For such PC values __tsan_symbolize_external() will be called.
-const uptr kExternalPCBit = 1ULL << 60;
+const u64 kExternalPCBit = 1ULL << 60;
 
 extern const char *SanitizerToolName;  // Can be changed by the tool.
 





More information about the llvm-commits mailing list