[PATCH] D135345: [libunwind] Add module maps for libunwind
Ian Anderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 5 22:00:53 PDT 2022
iana created this revision.
iana added reviewers: ributzka, steven_wu, ldionne, lhames, vsapsai.
Herald added subscribers: libcxx-commits, StephenFan, kristof.beyls.
Herald added projects: libunwind, All.
Herald added a reviewer: libunwind.
iana requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Add module maps for the libunwind headers. unwind_arm_ehabi.h and unwind_itanium.h aren't covered because they don't get installed on all platforms.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135345
Files:
libunwind/include/CMakeLists.txt
libunwind/include/libunwind.modulemap
libunwind/include/mach-o/compact_unwind_encoding.modulemap
Index: libunwind/include/mach-o/compact_unwind_encoding.modulemap
===================================================================
--- /dev/null
+++ libunwind/include/mach-o/compact_unwind_encoding.modulemap
@@ -0,0 +1,4 @@
+module MachO.compact_unwind_encoding [system] {
+ header "compact_unwind_encoding.h"
+ export *
+}
Index: libunwind/include/libunwind.modulemap
===================================================================
--- /dev/null
+++ libunwind/include/libunwind.modulemap
@@ -0,0 +1,10 @@
+module libunwind [system] {
+ header "libunwind.h"
+ export *
+}
+
+module unwind [system] {
+ header "__libunwind_config.h"
+ header "unwind.h"
+ export *
+}
Index: libunwind/include/CMakeLists.txt
===================================================================
--- libunwind/include/CMakeLists.txt
+++ libunwind/include/CMakeLists.txt
@@ -1,7 +1,9 @@
set(files
__libunwind_config.h
libunwind.h
+ libunwind.modulemap
mach-o/compact_unwind_encoding.h
+ mach-o/compact_unwind_encoding.modulemap
unwind_arm_ehabi.h
unwind_itanium.h
unwind.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135345.465655.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221006/a65d7b85/attachment.bin>
More information about the llvm-commits
mailing list