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

Ian Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 16:48:35 PST 2023


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

Make the unwind_ files private textual headers and revert the changes to them.


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.504304.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230311/9162cf3f/attachment.bin>


More information about the llvm-commits mailing list