From: Dan Albert Date: Wed, 2 Jul 2014 22:44:35 +0000 (+0000) Subject: Fix a warning about undeclared call to abort(). X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c67aa5403ca4b7a82bb671de7c6a86db2ff4140d;p=platform%2Fupstream%2Fllvm.git Fix a warning about undeclared call to abort(). llvm-svn: 212232 --- diff --git a/libcxxabi/src/Unwind/config.h b/libcxxabi/src/Unwind/config.h index 6f0d1cf..6b459ee 100644 --- a/libcxxabi/src/Unwind/config.h +++ b/libcxxabi/src/Unwind/config.h @@ -58,13 +58,15 @@ #endif #else - // ARM EHABI. + #include + static inline void assert_rtn(const char* func, const char* file, int line, const char* msg) __attribute__ ((noreturn)); static inline void assert_rtn(const char* func, const char* file, int line, const char* msg) { fprintf(stderr, "libunwind: %s %s:%d - %s\n", func, file, line, msg); assert(false); abort(); } + #define _LIBUNWIND_BUILD_ZERO_COST_APIS (__i386__ || __x86_64__ || __arm64__ || __arm__) #define _LIBUNWIND_BUILD_SJLJ_APIS 0 #define _LIBUNWIND_SUPPORT_FRAME_APIS (__i386__ || __x86_64__)