Unwind: always define unwind APIs
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 9 Mar 2015 16:46:43 +0000 (16:46 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 9 Mar 2015 16:46:43 +0000 (16:46 +0000)
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.

llvm-svn: 231666

libcxxabi/src/Unwind/libunwind.cpp

index 49f06cc..031ecce 100644 (file)
@@ -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 fde) {
 }
 #endif // _LIBUNWIND_SUPPORT_DWARF_UNWIND
 
-#endif // _LIBUNWIND_BUILD_ZERO_COST_APIS
-
 
 
 // Add logging hooks in Debug builds only