[PATCH] D95213: [lld-macho] Ignore -lto_library
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 13:49:39 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG041f3ee664c9: [lld-macho] Ignore -lto_library (authored by int3).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95213/new/
https://reviews.llvm.org/D95213
Files:
lld/MachO/Options.td
lld/test/MachO/silent-ignore.test
Index: lld/test/MachO/silent-ignore.test
===================================================================
--- lld/test/MachO/silent-ignore.test
+++ lld/test/MachO/silent-ignore.test
@@ -4,6 +4,7 @@
RUN: -lto_library /lib/foo \
RUN: -macosx_version_min 0 \
RUN: -dependency_info /path/to/dependency_info.dat \
+RUN: -lto_library ../lib/libLTO.dylib \
RUN: -mllvm -time-passes \
RUN: -objc_abi_version 2 \
RUN: -ios_simulator_version_min 9.0.0 \
Index: lld/MachO/Options.td
===================================================================
--- lld/MachO/Options.td
+++ lld/MachO/Options.td
@@ -862,8 +862,7 @@
Group<grp_rare>;
def lto_library : Separate<["-"], "lto_library">,
MetaVarName<"<path>">,
- HelpText<"Override the default ../lib/libLTO.dylib as <path>">,
- Flags<[HelpHidden]>,
+ HelpText<"Deprecated & ignored. LLD supports LTO directly, without using an external dylib.">,
Group<grp_rare>;
def cache_path_lto : Separate<["-"], "cache_path_lto">,
MetaVarName<"<path>">,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95213.318643.patch
Type: text/x-patch
Size: 1043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210122/d34840d7/attachment.bin>
More information about the llvm-commits
mailing list