summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Anderson <iana@apple.com>2023-01-31 00:56:27 -0800
committerTobias Hieta <tobias@hieta.se>2023-03-23 15:33:58 +0100
commita70565f7de2e3b07a8fd07b54f76c95c82dd34b8 (patch)
tree61092d568f8d20d74fdbcdb134f2127e1466c370
parent56edf062bdb64f0ce89860ed3e643f29a2f90e45 (diff)
downloadllvm-a70565f7de2e3b07a8fd07b54f76c95c82dd34b8.tar.gz
[libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)
Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module and use angle includes to include them. Reviewed By: ldionne, #libunwind Differential Revision: https://reviews.llvm.org/D144323 (cherry picked from commit 1187d8a62ba288e2221731f1795fa184571cd854)
-rw-r--r--libunwind/include/libunwind.modulemap3
-rw-r--r--libunwind/include/unwind.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/libunwind/include/libunwind.modulemap b/libunwind/include/libunwind.modulemap
index 162fe1d279a3..775841ecb5f1 100644
--- a/libunwind/include/libunwind.modulemap
+++ b/libunwind/include/libunwind.modulemap
@@ -6,5 +6,8 @@ module libunwind [system] {
module unwind [system] {
header "__libunwind_config.h"
header "unwind.h"
+ private textual header "unwind_arm_ehabi.h"
+ private textual header "unwind_itanium.h"
+
export *
}
diff --git a/libunwind/include/unwind.h b/libunwind/include/unwind.h
index 26cdef22207e..b1775d3a3dec 100644
--- a/libunwind/include/unwind.h
+++ b/libunwind/include/unwind.h
@@ -56,9 +56,9 @@ typedef enum {
typedef struct _Unwind_Context _Unwind_Context; // opaque
#if defined(_LIBUNWIND_ARM_EHABI)
-#include "unwind_arm_ehabi.h"
+#include <unwind_arm_ehabi.h>
#else
-#include "unwind_itanium.h"
+#include <unwind_itanium.h>
#endif
typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn)