[libunwind] 1187d8a - [libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 20 15:13:19 PDT 2023
Author: Ian Anderson
Date: 2023-03-20T15:13:14-07:00
New Revision: 1187d8a62ba288e2221731f1795fa184571cd854
URL: https://github.com/llvm/llvm-project/commit/1187d8a62ba288e2221731f1795fa184571cd854
DIFF: https://github.com/llvm/llvm-project/commit/1187d8a62ba288e2221731f1795fa184571cd854.diff
LOG: [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
Added:
Modified:
libunwind/include/libunwind.modulemap
libunwind/include/unwind.h
Removed:
################################################################################
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)
More information about the cfe-commits
mailing list