[PATCH] D26949: [libc++abi] Clean up visibility

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 28 18:53:36 PST 2017


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

LGTM minus inline comments.

@smeenai confirmed that this patch doesn't change the ABI list for `libc++abi.dylib` using `sym_check.py`.



================
Comment at: src/abort_message.h:19
 
-__attribute__((visibility("hidden"), noreturn))
-       void abort_message(const char* format, ...) 
-            __attribute__((format(printf, 1, 2)));
-
+_LIBCXXABI_HIDDEN __attribute__((noreturn)) void
+abort_message(const char *format, ...) __attribute__((format(printf, 1, 2)));
----------------
`LIBCXXABI_NORETURN`?


https://reviews.llvm.org/D26949





More information about the cfe-commits mailing list