From: Saleem Abdulrasool Date: Mon, 9 Mar 2015 16:46:43 +0000 (+0000) Subject: Unwind: always define unwind APIs X-Git-Tag: llvmorg-3.7.0-rc1~9784 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9e577933b4cc21cdc475cf8514d6cb11fc671b1;p=platform%2Fupstream%2Fllvm.git 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. llvm-svn: 231666 --- diff --git a/libcxxabi/src/Unwind/libunwind.cpp b/libcxxabi/src/Unwind/libunwind.cpp index 49f06cc..031ecce 100644 --- a/libcxxabi/src/Unwind/libunwind.cpp +++ b/libcxxabi/src/Unwind/libunwind.cpp @@ -26,8 +26,6 @@ #include -#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