diff options
author | Nico Weber <thakis@chromium.org> | 2022-04-22 11:55:50 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2022-04-23 21:43:46 -0400 |
commit | 3254f46884d3ec2d6112ab49ba3c470906699cda (patch) | |
tree | 2408f4e77f2ecbf502a784849c67a73fdfde4b82 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | c0022b4bb12d93d95bc3dfa00f236fc2cfe753ed (diff) | |
download | llvm-3254f46884d3ec2d6112ab49ba3c470906699cda.zip llvm-3254f46884d3ec2d6112ab49ba3c470906699cda.tar.gz llvm-3254f46884d3ec2d6112ab49ba3c470906699cda.tar.bz2 |
[lld/mac] For catalyst outputs, tolerate implicitly linking against mac-only tbd files
Before this,
clang empty.cc -target x86_64-apple-ios13.1-macabi \
-framework CoreServices -fuse-ld=lld
would error out with
ld64.lld: error: path/to/MacOSX.sdk/System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/
Versions/A/CarbonCore.tbd(
/System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/
Versions/A/CarbonCore) is incompatible with x86_64 (macCatalyst)
Now it works, like with ld64.
Differential Revision: https://reviews.llvm.org/D124336
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions