[PATCH] D28596: [compiler-rt] General definition for weak functions.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 13:05:53 PST 2017


rnk added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_internal_defs.h:74
 # define SANITIZER_INTERFACE_ATTRIBUTE __attribute__((visibility("default")))
 # define SANITIZER_WEAK_ATTRIBUTE  __attribute__((weak))
+# define WEAK(ReturnType, Name, Params)                                        \
----------------
We should consider removing this macro eventually and migrate all users over to the new API.


Repository:
  rL LLVM

https://reviews.llvm.org/D28596





More information about the llvm-commits mailing list