[libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)
authorIan Anderson <iana@apple.com>
Tue, 31 Jan 2023 08:56:27 +0000 (00:56 -0800)
committerIan Anderson <iana@apple.com>
Mon, 20 Mar 2023 22:13:14 +0000 (15:13 -0700)
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

libunwind/include/libunwind.modulemap
libunwind/include/unwind.h

index 162fe1d..775841e 100644 (file)
@@ -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 *
 }
index 26cdef2..b1775d3 100644 (file)
@@ -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)