[llvm-branch-commits] [lld] 041f3ee - [lld-macho] Ignore -lto_library

Jez Ng via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 22 13:54:00 PST 2021


Author: Jez Ng
Date: 2021-01-22T16:48:50-05:00
New Revision: 041f3ee664c925148d1cfe48976ae671a660c949

URL: https://github.com/llvm/llvm-project/commit/041f3ee664c925148d1cfe48976ae671a660c949
DIFF: https://github.com/llvm/llvm-project/commit/041f3ee664c925148d1cfe48976ae671a660c949.diff

LOG: [lld-macho] Ignore -lto_library

Just getting rid of some logspew as I test LLD under existing build
systems.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D95213

Added: 
    

Modified: 
    lld/MachO/Options.td
    lld/test/MachO/silent-ignore.test

Removed: 
    


################################################################################
diff  --git a/lld/MachO/Options.td b/lld/MachO/Options.td
index 89473acebdb2..3410f50fa317 100644
--- a/lld/MachO/Options.td
+++ b/lld/MachO/Options.td
@@ -862,8 +862,7 @@ def object_path_lto : Separate<["-"], "object_path_lto">,
      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>">,

diff  --git a/lld/test/MachO/silent-ignore.test b/lld/test/MachO/silent-ignore.test
index 2d1174835728..e6b4703057f8 100644
--- a/lld/test/MachO/silent-ignore.test
+++ b/lld/test/MachO/silent-ignore.test
@@ -4,6 +4,7 @@ RUN:   -no_deduplicate \
 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 \


        


More information about the llvm-branch-commits mailing list