OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c88e0b
)
Apply SANITIZE_TARGET=safe-stack to 64 bit targets only.
author
Evgenii Stepanov
<eugenis@google.com>
Sat, 7 May 2016 01:15:57 +0000
(18:15 -0700)
committer
Evgenii Stepanov
<eugenis@google.com>
Fri, 1 Jul 2016 20:07:38 +0000
(20:07 +0000)
Bug:
27729263
Change-Id: I214a9f40b94f6e6716aca05be774f014e62f73e8
core/config_sanitizers.mk
patch
|
blob
|
history
diff --git
a/core/config_sanitizers.mk
b/core/config_sanitizers.mk
index
41f0680
..
9602626
100644
(file)
--- a/
core/config_sanitizers.mk
+++ b/
core/config_sanitizers.mk
@@
-75,6
+75,12
@@
ifneq ($(filter thread,$(my_sanitize)),)
endif
endif
+ifneq ($(filter safe-stack,$(my_sanitize)),)
+ ifeq ($(my_32_64_bit_suffix),32)
+ my_sanitize := $(filter-out safe-stack,$(my_sanitize))
+ endif
+endif
+
# Undefined symbols can occur if a non-sanitized library links
# sanitized static libraries. That's OK, because the executable
# always depends on the ASan runtime library, which defines these