aboutsummaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorIan Anderson <iana@apple.com>2022-10-05 17:15:02 -0700
committerIan Anderson <iana@apple.com>2022-10-26 22:39:46 -0700
commit6408e6c99d42af3bf866f92931d1f17d97bb7d37 (patch)
tree0066cd7de436035adc16466e71aae7043f3c701c /libunwind
parent8801e60c11ff9aacb9bc9d8eb69c9f2a3fb9bdf2 (diff)
downloadllvm-6408e6c99d42af3bf866f92931d1f17d97bb7d37.zip
llvm-6408e6c99d42af3bf866f92931d1f17d97bb7d37.tar.gz
llvm-6408e6c99d42af3bf866f92931d1f17d97bb7d37.tar.bz2
[libunwind] Add module maps for libunwind
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. Reviewed By: #libunwind, MaskRay Differential Revision: https://reviews.llvm.org/D135345
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/include/CMakeLists.txt2
-rw-r--r--libunwind/include/libunwind.modulemap10
-rw-r--r--libunwind/include/mach-o/compact_unwind_encoding.modulemap4
3 files changed, 16 insertions, 0 deletions
diff --git a/libunwind/include/CMakeLists.txt b/libunwind/include/CMakeLists.txt
index adf1766..51065d6 100644
--- a/libunwind/include/CMakeLists.txt
+++ b/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
diff --git a/libunwind/include/libunwind.modulemap b/libunwind/include/libunwind.modulemap
new file mode 100644
index 0000000..162fe1d27
--- /dev/null
+++ b/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 *
+}
diff --git a/libunwind/include/mach-o/compact_unwind_encoding.modulemap b/libunwind/include/mach-o/compact_unwind_encoding.modulemap
new file mode 100644
index 0000000..6eae657
--- /dev/null
+++ b/libunwind/include/mach-o/compact_unwind_encoding.modulemap
@@ -0,0 +1,4 @@
+module MachO.compact_unwind_encoding [system] {
+ header "compact_unwind_encoding.h"
+ export *
+}