[PATCH] D92399: clang/darwin: Use response files with ld64.lld.darwinnew
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 09:08:19 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb99e2b8b14f4: clang/darwin: Use response files with ld64.lld.darwinnew (authored by thakis).
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92399/new/
https://reviews.llvm.org/D92399
Files:
clang/lib/Driver/ToolChains/Darwin.cpp
Index: clang/lib/Driver/ToolChains/Darwin.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Darwin.cpp
+++ clang/lib/Driver/ToolChains/Darwin.cpp
@@ -697,8 +697,10 @@
}
}
- ResponseFileSupport ResponseSupport = ResponseFileSupport::AtFileUTF8();
- if (Version[0] < 607) {
+ ResponseFileSupport ResponseSupport;
+ if (Version[0] >= 607 || LinkerIsLLDDarwinNew) {
+ ResponseSupport = ResponseFileSupport::AtFileUTF8();
+ } else {
// For older versions of the linker, use the legacy filelist method instead.
ResponseSupport = {ResponseFileSupport::RF_FileList, llvm::sys::WEM_UTF8,
"-filelist"};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92399.308682.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201201/ca042702/attachment-0001.bin>
More information about the cfe-commits
mailing list