svn commit: r280909 - head/contrib/gcc
Ed Maste
emaste at FreeBSD.org
Tue Mar 31 13:37:33 UTC 2015
Author: emaste
Date: Tue Mar 31 13:37:32 2015
New Revision: 280909
URL: https://svnweb.freebsd.org/changeset/base/280909
Log:
unwind-d2 build workaround for arm64
The __builtin_init_dwarf_reg_size_table function is unimplemented in
clang 3.6 for AArch64. Comment it out for now and replace it with
a message and abort.
Tracked in upstream LLVM PR 22997
https://llvm.org/bugs/show_bug.cgi?id=22997
Submitted by: andrew
Modified:
head/contrib/gcc/unwind-dw2.c
Modified: head/contrib/gcc/unwind-dw2.c
==============================================================================
--- head/contrib/gcc/unwind-dw2.c Tue Mar 31 12:53:07 2015 (r280908)
+++ head/contrib/gcc/unwind-dw2.c Tue Mar 31 13:37:32 2015 (r280909)
@@ -1393,7 +1393,16 @@ uw_advance_context (struct _Unwind_Conte
static inline void
init_dwarf_reg_size_table (void)
{
+/*
+ * ARM64TODO: http://llvm.org/pr22997
+ * llvm 3.6 doesn't support __builtin_init_dwarf_reg_size_table on AArch64.
+ */
+#ifdef __aarch64__
+ printf("Unimplemented: init_dwarf_reg_size_table\n");
+ abort();
+#else
__builtin_init_dwarf_reg_size_table (dwarf_reg_size_table);
+#endif
}
static void
More information about the svn-src-all
mailing list