[PATCH] D52305: [Hwasan] interceptor macro / extra comma removal

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 20 12:32:28 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL342680: [Hwasan] interceptor macro / extra comma removal (authored by devnexen, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D52305?vs=166287&id=166345#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52305

Files:
  compiler-rt/trunk/lib/hwasan/hwasan_interceptors.cc


Index: compiler-rt/trunk/lib/hwasan/hwasan_interceptors.cc
===================================================================
--- compiler-rt/trunk/lib/hwasan/hwasan_interceptors.cc
+++ compiler-rt/trunk/lib/hwasan/hwasan_interceptors.cc
@@ -230,11 +230,11 @@
 }
 
 #if HWASAN_WITH_INTERCEPTORS
-#define INTERCEPTOR_ALIAS(RET, FN, ARGS...)                                 \
-  extern "C" SANITIZER_INTERFACE_ATTRIBUTE RET WRAP(FN)(ARGS)               \
-      ALIAS("__sanitizer_" #FN);                                            \
-  extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE RET FN( \
-      ARGS) ALIAS("__sanitizer_" #FN);
+#define INTERCEPTOR_ALIAS(RET, FN, ARGS...)                                  \
+  extern "C" SANITIZER_INTERFACE_ATTRIBUTE RET WRAP(FN)(ARGS)                \
+      ALIAS("__sanitizer_" #FN);                                             \
+  extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE RET FN(  \
+      ARGS) ALIAS("__sanitizer_" #FN)
 
 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
                   SIZE_T size);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52305.166345.patch
Type: text/x-patch
Size: 1119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180920/d19dd92c/attachment.bin>


More information about the llvm-commits mailing list