[clang] [clang][modules] Remove `_Private` suffix from framework auto-link hints. (PR #77120)
Juergen Ributzka via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 8 09:34:00 PST 2024
================
@@ -0,0 +1,25 @@
+// Test that autolink hints for frameworks don't use the private module name.
----------------
ributzka wrote:
The auto-link hint is supposed to provide a framework name, which is incorrect when you pass the name of the private module. The linker ignores invalid auto-link hints, but it might emit warnings about them when the link fails for other reasons. Besides the warning messages being confusing, this could also cause link errors if the public module was never used (very rare) and therefore the framework was never linked.
https://github.com/llvm/llvm-project/pull/77120
More information about the cfe-commits
mailing list