[libcxxabi] r212232 - Fix a warning about undeclared call to abort().
Nico Weber
thakis at chromium.org
Wed Jul 2 16:01:28 PDT 2014
Why delete the comment?
On Wed, Jul 2, 2014 at 3:44 PM, Dan Albert <danalbert at google.com> wrote:
> Author: danalbert
> Date: Wed Jul 2 17:44:35 2014
> New Revision: 212232
>
> URL: http://llvm.org/viewvc/llvm-project?rev=212232&view=rev
> Log:
> Fix a warning about undeclared call to abort().
>
> Modified:
> libcxxabi/trunk/src/Unwind/config.h
>
> Modified: libcxxabi/trunk/src/Unwind/config.h
> URL:
> http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/config.h?rev=212232&r1=212231&r2=212232&view=diff
>
> ==============================================================================
> --- libcxxabi/trunk/src/Unwind/config.h (original)
> +++ libcxxabi/trunk/src/Unwind/config.h Wed Jul 2 17:44:35 2014
> @@ -58,13 +58,15 @@
> #endif
>
> #else
> - // ARM EHABI.
> + #include <stdlib.h>
> +
> 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__)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140702/7ef2cb34/attachment.html>
More information about the cfe-commits
mailing list