[libcxxabi] r231666 - Unwind: always define unwind APIs

Saleem Abdulrasool compnerd at compnerd.org
Mon Mar 9 09:46:43 PDT 2015


Author: compnerd
Date: Mon Mar  9 11:46:43 2015
New Revision: 231666

URL: http://llvm.org/viewvc/llvm-project?rev=231666&view=rev
Log:
Unwind: always define unwind APIs

These interfaces are not zero cost related, but rather generic unwind APIs used
by consumers of the Unwind library.  Always provide the definition as they are
needed for both Zero Cost and Frame Table based implementations.

Modified:
    libcxxabi/trunk/src/Unwind/libunwind.cpp

Modified: libcxxabi/trunk/src/Unwind/libunwind.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/libunwind.cpp?rev=231666&r1=231665&r2=231666&view=diff
==============================================================================
--- libcxxabi/trunk/src/Unwind/libunwind.cpp (original)
+++ libcxxabi/trunk/src/Unwind/libunwind.cpp Mon Mar  9 11:46:43 2015
@@ -26,8 +26,6 @@
 #include <stdlib.h>
 
 
-#if _LIBUNWIND_BUILD_ZERO_COST_APIS
-
 #include "UnwindCursor.hpp"
 
 using namespace libunwind;
@@ -341,8 +339,6 @@ void _unw_remove_dynamic_fde(unw_word_t
 }
 #endif // _LIBUNWIND_SUPPORT_DWARF_UNWIND
 
-#endif // _LIBUNWIND_BUILD_ZERO_COST_APIS
-
 
 
 // Add logging hooks in Debug builds only





More information about the cfe-commits mailing list