diff --git a/libunwind/include/CMakeLists.txt b/libunwind/include/CMakeLists.txt --- 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 --- /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 --- /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 * +}