[libcxx-commits] [PATCH] D144323: [libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 20 09:28:52 PDT 2023


iana updated this revision to Diff 506622.
iana added a comment.

Rebasing


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144323/new/

https://reviews.llvm.org/D144323

Files:
  libunwind/include/libunwind.modulemap
  libunwind/include/unwind.h


Index: libunwind/include/unwind.h
===================================================================
--- libunwind/include/unwind.h
+++ libunwind/include/unwind.h
@@ -56,9 +56,9 @@
 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)
Index: libunwind/include/libunwind.modulemap
===================================================================
--- libunwind/include/libunwind.modulemap
+++ libunwind/include/libunwind.modulemap
@@ -6,5 +6,8 @@
 module unwind [system] {
   header "__libunwind_config.h"
   header "unwind.h"
+  private textual header "unwind_arm_ehabi.h"
+  private textual header "unwind_itanium.h"
+
   export *
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144323.506622.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230320/21de6808/attachment.bin>


More information about the libcxx-commits mailing list