[llvm-branch-commits] [libunwind] 00ff55d - [libunwind] Stop installing the mach-o module map (#105616)

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 1 01:07:16 PDT 2024


Author: Ian Anderson
Date: 2024-09-01T10:07:04+02:00
New Revision: 00ff55d61c765467e9a72c0fd570343d3cfb3b43

URL: https://github.com/llvm/llvm-project/commit/00ff55d61c765467e9a72c0fd570343d3cfb3b43
DIFF: https://github.com/llvm/llvm-project/commit/00ff55d61c765467e9a72c0fd570343d3cfb3b43.diff

LOG: [libunwind] Stop installing the mach-o module map (#105616)

libunwind shouldn't know that compact_unwind_encoding.h is part of a
MachO module that it doesn't own. Delete the mach-o module map, and let
whatever is in charge of the mach-o directory be the one to say how its
module is organized and where compact_unwind_encoding.h fits in.

(cherry picked from commit 172c4a4a147833f1c08df1555f3170aa9ccb6cbe)

Added: 
    

Modified: 
    libunwind/include/CMakeLists.txt

Removed: 
    libunwind/include/mach-o/compact_unwind_encoding.modulemap


################################################################################
diff  --git a/libunwind/include/CMakeLists.txt b/libunwind/include/CMakeLists.txt
index 51065d68afd4ea..6796d67a3354ff 100644
--- a/libunwind/include/CMakeLists.txt
+++ b/libunwind/include/CMakeLists.txt
@@ -3,7 +3,6 @@ set(files
     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/mach-o/compact_unwind_encoding.modulemap b/libunwind/include/mach-o/compact_unwind_encoding.modulemap
deleted file mode 100644
index 6eae657d31b5c5..00000000000000
--- a/libunwind/include/mach-o/compact_unwind_encoding.modulemap
+++ /dev/null
@@ -1,4 +0,0 @@
-module MachO.compact_unwind_encoding [system] {
-  header "compact_unwind_encoding.h"
-  export *
-}


        


More information about the llvm-branch-commits mailing list