aboutsummaryrefslogtreecommitdiff
path: root/lib/libunwind/src/UnwindLevel1.c
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-12-03 21:00:38 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-12-06 14:29:40 -0700
commit003bba47ccd0b57e20192b6123b1be643f35da83 (patch)
tree46709006baed5377e2b11d6fc2862053c7e090ee /lib/libunwind/src/UnwindLevel1.c
parentfffa89700e1726508b5e5a3807fbc3a33eeea88d (diff)
downloadzig-003bba47ccd0b57e20192b6123b1be643f35da83.tar.gz
zig-003bba47ccd0b57e20192b6123b1be643f35da83.zip
libunwind: patch to silence warning
Not sure why this warning is being emitted; let's reexamine it on the next libunwind upgrade. I triggered it with this: zig c++ -o hello hello.cpp -target x86_64-windows
Diffstat (limited to 'lib/libunwind/src/UnwindLevel1.c')
-rw-r--r--lib/libunwind/src/UnwindLevel1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libunwind/src/UnwindLevel1.c b/lib/libunwind/src/UnwindLevel1.c
index 68e5e48b8c..41047b6689 100644
--- a/lib/libunwind/src/UnwindLevel1.c
+++ b/lib/libunwind/src/UnwindLevel1.c
@@ -30,6 +30,8 @@
#include "libunwind_ext.h"
#include "unwind.h"
+#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration"
+
#if !defined(_LIBUNWIND_ARM_EHABI) && !defined(__USING_SJLJ_EXCEPTIONS__)
#ifndef _LIBUNWIND_SUPPORT_SEH_UNWIND