[compiler-rt] r176077 - [asan] use the new attribute syntax (no_address_safety_analysis => no_sanitize_address)
Kostya Serebryany
kcc at google.com
Mon Feb 25 23:01:06 PST 2013
Author: kcc
Date: Tue Feb 26 01:01:06 2013
New Revision: 176077
URL: http://llvm.org/viewvc/llvm-project?rev=176077&view=rev
Log:
[asan] use the new attribute syntax (no_address_safety_analysis => no_sanitize_address)
Modified:
compiler-rt/trunk/lib/asan/lit_tests/default_options.cc
compiler-rt/trunk/lib/asan/lit_tests/throw_call_test.cc
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_test_utils.h
Modified: compiler-rt/trunk/lib/asan/lit_tests/default_options.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/default_options.cc?rev=176077&r1=176076&r2=176077&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/default_options.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/default_options.cc Tue Feb 26 01:01:06 2013
@@ -4,7 +4,7 @@
const char *kAsanDefaultOptions="verbosity=1 foo=bar";
extern "C"
-__attribute__((no_address_safety_analysis))
+__attribute__((no_sanitize_address))
const char *__asan_default_options() {
// CHECK: Using the defaults from __asan_default_options: {{.*}} foo=bar
return kAsanDefaultOptions;
Modified: compiler-rt/trunk/lib/asan/lit_tests/throw_call_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/throw_call_test.cc?rev=176077&r1=176076&r2=176077&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/throw_call_test.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/throw_call_test.cc Tue Feb 26 01:01:06 2013
@@ -7,7 +7,7 @@ inline void pretend_to_do_something(void
__asm__ __volatile__("" : : "r" (x) : "memory");
}
-__attribute__((noinline, no_address_safety_analysis))
+__attribute__((noinline, no_sanitize_address))
void ReallyThrow() {
fprintf(stderr, "ReallyThrow\n");
if (zero == 0)
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_test_utils.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_test_utils.h?rev=176077&r1=176076&r2=176077&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_test_utils.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_test_utils.h Tue Feb 26 01:01:06 2013
@@ -38,7 +38,7 @@ typedef __int64 int64_t;
#if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS \
- __attribute__((no_address_safety_analysis))
+ __attribute__((no_sanitize_address))
#else
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS
#endif
More information about the llvm-commits
mailing list