summaryrefslogtreecommitdiff
path: root/lib/asan/asan_report.cc
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-08-13 11:42:45 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-08-13 11:42:45 +0000
commit3c80c6c574850106481f82b9e23d1c728458d4a9 (patch)
tree0c3299699a77a0c6306c5075d6018515046735d8 /lib/asan/asan_report.cc
parente4c3c84e9d470ebe5bae3a28358f28c7f652e5a6 (diff)
downloadcompiler-rt-3c80c6c574850106481f82b9e23d1c728458d4a9.tar.gz
compiler-rt-3c80c6c574850106481f82b9e23d1c728458d4a9.tar.bz2
compiler-rt-3c80c6c574850106481f82b9e23d1c728458d4a9.tar.xz
Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.cc')
-rw-r--r--lib/asan/asan_report.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc
index 9c46b49e..f5c67f1b 100644
--- a/lib/asan/asan_report.cc
+++ b/lib/asan/asan_report.cc
@@ -759,6 +759,6 @@ void __asan_describe_address(uptr addr) {
#if !SANITIZER_SUPPORTS_WEAK_HOOKS
// Provide default implementation of __asan_on_error that does nothing
// and may be overriden by user.
-SANITIZER_WEAK_ATTRIBUTE SANITIZER_INTERFACE_ATTRIBUTE NOINLINE
+SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE NOINLINE
void __asan_on_error() {}
#endif