projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c2ee6
)
[asan] fix fixed mapping for mac (ASAN_FLEXIBLE_MAPPING_AND_OFFSET=0)
author
Kostya Serebryany
<kcc@google.com>
Wed, 13 Feb 2013 10:15:03 +0000
(10:15 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Wed, 13 Feb 2013 10:15:03 +0000
(10:15 +0000)
llvm-svn: 175049
compiler-rt/lib/asan/asan_mapping.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_mapping.h
b/compiler-rt/lib/asan/asan_mapping.h
index
4cf0675
..
3e7fc6b
100644
(file)
--- a/
compiler-rt/lib/asan/asan_mapping.h
+++ b/
compiler-rt/lib/asan/asan_mapping.h
@@
-36,7
+36,11
@@
extern SANITIZER_INTERFACE_ATTRIBUTE uptr __asan_mapping_offset;
# if defined(__powerpc64__)
# define SHADOW_OFFSET (1ULL << 41)
# else
-# define SHADOW_OFFSET 0x7fff8000ULL
+# if ASAN_MAC
+# define SHADOW_OFFSET (1ULL << 44)
+# else
+# define SHADOW_OFFSET 0x7fff8000ULL
+# endif
# endif
# endif
# endif