[libcxxabi] r193839 - Rename LIBUNWIND_AVAIL to LIBUNWIND_UNAVAIL so as to not conflict with other (different) LIBUNWIND_AVAIL define

Nick Kledzik kledzik at apple.com
Thu Oct 31 17:32:26 PDT 2013


Author: kledzik
Date: Thu Oct 31 19:32:26 2013
New Revision: 193839

URL: http://llvm.org/viewvc/llvm-project?rev=193839&view=rev
Log:
Rename LIBUNWIND_AVAIL to LIBUNWIND_UNAVAIL so as to not conflict with other (different) LIBUNWIND_AVAIL define

Modified:
    libcxxabi/trunk/include/unwind.h

Modified: libcxxabi/trunk/include/unwind.h
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/include/unwind.h?rev=193839&r1=193838&r2=193839&view=diff
==============================================================================
--- libcxxabi/trunk/include/unwind.h (original)
+++ libcxxabi/trunk/include/unwind.h Thu Oct 31 19:32:26 2013
@@ -18,9 +18,9 @@
 #include <stddef.h>
 
 #if defined(__APPLE__)
-#define LIBUNWIND_AVAIL __attribute__ (( unavailable ))
+#define LIBUNWIND_UNAVAIL __attribute__ (( unavailable ))
 #else
-#define LIBUNWIND_AVAIL
+#define LIBUNWIND_UNAVAIL
 #endif
 
 typedef enum {
@@ -187,28 +187,28 @@ extern void *_Unwind_FindEnclosingFuncti
 // Mac OS X does not support text-rel and data-rel addressing so these functions
 // are unimplemented
 extern uintptr_t _Unwind_GetDataRelBase(struct _Unwind_Context *context)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 extern uintptr_t _Unwind_GetTextRelBase(struct _Unwind_Context *context)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 
 // Mac OS X 10.4 and 10.5 had implementations of these functions in
 // libgcc_s.dylib, but they never worked.  
 /// These functions are no longer available on Mac OS X.
 extern void __register_frame_info_bases(const void *fde, void *ob, void *tb,
-                                        void *db) LIBUNWIND_AVAIL;
+                                        void *db) LIBUNWIND_UNAVAIL;
 extern void __register_frame_info(const void *fde, void *ob)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 extern void __register_frame_info_table_bases(const void *fde, void *ob,
                                               void *tb, void *db)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 extern void __register_frame_info_table(const void *fde, void *ob)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 extern void __register_frame_table(const void *fde)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 extern void *__deregister_frame_info(const void *fde)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 extern void *__deregister_frame_info_bases(const void *fde)
-    LIBUNWIND_AVAIL;
+    LIBUNWIND_UNAVAIL;
 
 #ifdef __cplusplus
 }





More information about the cfe-commits mailing list