[compiler-rt] r196364 - [ASan] Return interface attribute to __sanitizer_print_stack_trace
Alexey Samsonov
samsonov at google.com
Wed Dec 4 00:17:45 PST 2013
Author: samsonov
Date: Wed Dec 4 02:17:45 2013
New Revision: 196364
URL: http://llvm.org/viewvc/llvm-project?rev=196364&view=rev
Log:
[ASan] Return interface attribute to __sanitizer_print_stack_trace
Modified:
compiler-rt/trunk/lib/asan/asan_stack.cc
Modified: compiler-rt/trunk/lib/asan/asan_stack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_stack.cc?rev=196364&r1=196363&r2=196364&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_stack.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_stack.cc Wed Dec 4 02:17:45 2013
@@ -46,7 +46,10 @@ bool __asan_symbolize(const void *pc, ch
}
#endif
-extern "C" void __sanitizer_print_stack_trace() {
+extern "C" {
+SANITIZER_INTERFACE_ATTRIBUTE
+void __sanitizer_print_stack_trace() {
using namespace __asan;
PRINT_CURRENT_STACK();
}
+} // extern "C"
More information about the llvm-commits
mailing list