| Index: runtime/bin/address_sanitizer.cc
|
| diff --git a/runtime/bin/address_sanitizer.cc b/runtime/bin/address_sanitizer.cc
|
| index 6795da8e8559785d6a6c7475ddb93cf27e55a98c..db2c65e7a5585e1d4d389955b084196a8f1b62de 100644
|
| --- a/runtime/bin/address_sanitizer.cc
|
| +++ b/runtime/bin/address_sanitizer.cc
|
| @@ -8,17 +8,16 @@
|
| #if defined(__has_feature)
|
| #if __has_feature(address_sanitizer)
|
|
|
| -const char *kAsanDefaultOptions =
|
| +const char* kAsanDefaultOptions =
|
| "strict_memcmp=0 symbolize=0 check_printf=1 use_sigaltstack=1 "
|
| "detect_leaks=0 fast_unwind_on_fatal=1 handle_segv=0 ";
|
|
|
| -extern "C"
|
| -__attribute__((no_sanitize_address))
|
| +extern "C" __attribute__((no_sanitize_address))
|
| __attribute__((visibility("default")))
|
| // The function isn't referenced from the executable itself. Make sure it isn't
|
| // stripped by the linker.
|
| -__attribute__((used))
|
| -const char *__asan_default_options() {
|
| +__attribute__((used)) const char*
|
| +__asan_default_options() {
|
| return kAsanDefaultOptions;
|
| }
|
|
|
|
|