Skip to content

release/19.x: [libunwind] Stop installing the mach-o module map (#105616) #105896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Aug 23, 2024

Backport 172c4a4

Requested by: @ian-twilightcoder

@llvmbot llvmbot requested a review from a team as a code owner August 23, 2024 22:10
@llvmbot llvmbot added this to the LLVM 19.X Release milestone Aug 23, 2024
@llvmbot
Copy link
Member Author

llvmbot commented Aug 23, 2024

@ldionne What do you think about merging this PR to the release branch?

@llvmbot
Copy link
Member Author

llvmbot commented Aug 23, 2024

@llvm/pr-subscribers-libunwind

Author: None (llvmbot)

Changes

Backport 172c4a4

Requested by: @ian-twilightcoder


Full diff: https://github.com/llvm/llvm-project/pull/105896.diff

2 Files Affected:

  • (modified) libunwind/include/CMakeLists.txt (-1)
  • (removed) libunwind/include/mach-o/compact_unwind_encoding.modulemap (-4)
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 *
-}

Copy link
Member

@ldionne ldionne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failures look like flukes unrelated to the patch (the CI machines got updated and some tests started XPASSing).

LGTM

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 172c4a4)
@tru tru merged commit 00ff55d into llvm:release/19.x Sep 1, 2024
8 of 10 checks passed
Copy link

github-actions bot commented Sep 1, 2024

@ian-twilightcoder (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

4 participants