[llvm-commits] [compiler-rt] r154201 - /compiler-rt/trunk/lib/asan/asan_rtl.cc
Kostya Serebryany
kcc at google.com
Fri Apr 6 13:19:59 PDT 2012
Author: kcc
Date: Fri Apr 6 15:19:59 2012
New Revision: 154201
URL: http://llvm.org/viewvc/llvm-project?rev=154201&view=rev
Log:
[asan] minor change to please gcc
Modified:
compiler-rt/trunk/lib/asan/asan_rtl.cc
Modified: compiler-rt/trunk/lib/asan/asan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_rtl.cc?rev=154201&r1=154200&r2=154201&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Fri Apr 6 15:19:59 2012
@@ -229,9 +229,9 @@
// -------------------------- Run-time entry ------------------- {{{1
// exported functions
#define ASAN_REPORT_ERROR(type, is_write, size) \
-NOINLINE ASAN_INTERFACE_ATTRIBUTE \
-extern "C" void __asan_report_ ## type ## size(uintptr_t addr); \
-extern "C" void __asan_report_ ## type ## size(uintptr_t addr) { \
+extern "C" NOINLINE ASAN_INTERFACE_ATTRIBUTE \
+void __asan_report_ ## type ## size(uintptr_t addr); \
+void __asan_report_ ## type ## size(uintptr_t addr) { \
GET_CALLER_PC_BP_SP; \
__asan_report_error(pc, bp, sp, addr, is_write, size); \
}
More information about the llvm-commits
mailing list