summaryrefslogtreecommitdiff
path: root/src/third_party/unwind
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-11 15:07:35 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-11 15:07:35 -0300
commit4cb8841196d0625dfa3825aa326f071cd27c7b8b (patch)
tree1682a647d4463397c119183369ae6f750d5fdcff /src/third_party/unwind
parentaa03c6362cbaa767638e6eed9b031d86dd2643d1 (diff)
parent8f0827553e09872941945a093b647a4211a9db7f (diff)
Update upstream source from tag 'upstream/6.0.0'master
Update to upstream version '6.0.0' with Debian dir 5604a80ec1c96ca76f25f40d78e6ef855abec322
Diffstat (limited to 'src/third_party/unwind')
-rw-r--r--src/third_party/unwind/SConscript2
-rw-r--r--src/third_party/unwind/dist/include/libunwind-aarch64.h6
-rw-r--r--src/third_party/unwind/dist/include/libunwind-arm.h6
-rw-r--r--src/third_party/unwind/dist/include/libunwind-x86.h2
-rw-r--r--src/third_party/unwind/platform/linux_aarch64/install/include/libunwind-aarch64.h6
5 files changed, 15 insertions, 7 deletions
diff --git a/src/third_party/unwind/SConscript b/src/third_party/unwind/SConscript
index 328b98aba0f..643ae2c86bd 100644
--- a/src/third_party/unwind/SConscript
+++ b/src/third_party/unwind/SConscript
@@ -139,8 +139,6 @@ if env['TARGET_ARCH'] == 'ppc64le':
if env.ToolchainIs('clang'):
env.Append(CCFLAGS=['-Wno-header-guard'])
- if env['TARGET_ARCH'] == 'aarch64':
- env.Append(CCFLAGS=['-Wno-absolute-value'])
env.Append(
CPPPATH=[
diff --git a/src/third_party/unwind/dist/include/libunwind-aarch64.h b/src/third_party/unwind/dist/include/libunwind-aarch64.h
index 5196b752a9b..a5265c4627b 100644
--- a/src/third_party/unwind/dist/include/libunwind-aarch64.h
+++ b/src/third_party/unwind/dist/include/libunwind-aarch64.h
@@ -37,7 +37,11 @@ extern "C" {
#include <stdalign.h>
#ifndef UNW_EMPTY_STRUCT
-# define UNW_EMPTY_STRUCT uint8_t unused;
+# ifdef __GNUC__
+# define UNW_EMPTY_STRUCT
+# else
+# define UNW_EMPTY_STRUCT uint8_t unused;
+# endif
#endif
#define UNW_TARGET aarch64
diff --git a/src/third_party/unwind/dist/include/libunwind-arm.h b/src/third_party/unwind/dist/include/libunwind-arm.h
index 85134b40e96..0bea7958b3f 100644
--- a/src/third_party/unwind/dist/include/libunwind-arm.h
+++ b/src/third_party/unwind/dist/include/libunwind-arm.h
@@ -33,7 +33,11 @@ extern "C" {
#include <stddef.h>
#ifndef UNW_EMPTY_STRUCT
-# define UNW_EMPTY_STRUCT uint8_t unused;
+# ifdef __GNUC__
+# define UNW_EMPTY_STRUCT
+# else
+# define UNW_EMPTY_STRUCT uint8_t unused;
+# endif
#endif
#define UNW_TARGET arm
diff --git a/src/third_party/unwind/dist/include/libunwind-x86.h b/src/third_party/unwind/dist/include/libunwind-x86.h
index 542c1774908..40fe0464f2f 100644
--- a/src/third_party/unwind/dist/include/libunwind-x86.h
+++ b/src/third_party/unwind/dist/include/libunwind-x86.h
@@ -158,7 +158,6 @@ x86_regnum_t;
typedef struct unw_tdep_save_loc
{
/* Additional target-dependent info on a save location. */
- char unused;
}
unw_tdep_save_loc_t;
@@ -170,7 +169,6 @@ typedef ucontext_t unw_tdep_context_t;
typedef struct
{
/* no x86-specific auxiliary proc-info */
- char unused;
}
unw_tdep_proc_info_t;
diff --git a/src/third_party/unwind/platform/linux_aarch64/install/include/libunwind-aarch64.h b/src/third_party/unwind/platform/linux_aarch64/install/include/libunwind-aarch64.h
index 5196b752a9b..a5265c4627b 100644
--- a/src/third_party/unwind/platform/linux_aarch64/install/include/libunwind-aarch64.h
+++ b/src/third_party/unwind/platform/linux_aarch64/install/include/libunwind-aarch64.h
@@ -37,7 +37,11 @@ extern "C" {
#include <stdalign.h>
#ifndef UNW_EMPTY_STRUCT
-# define UNW_EMPTY_STRUCT uint8_t unused;
+# ifdef __GNUC__
+# define UNW_EMPTY_STRUCT
+# else
+# define UNW_EMPTY_STRUCT uint8_t unused;
+# endif
#endif
#define UNW_TARGET aarch64