[lld] 2af4385 - [LLD][COFF] Add support for /noimplib

Tobias Hieta via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 07:41:40 PDT 2022


Author: Tobias Hieta
Date: 2022-04-13T16:40:29+02:00
New Revision: 2af43854778a6cff346071e150fe6c2e0afa7f73

URL: https://github.com/llvm/llvm-project/commit/2af43854778a6cff346071e150fe6c2e0afa7f73
DIFF: https://github.com/llvm/llvm-project/commit/2af43854778a6cff346071e150fe6c2e0afa7f73.diff

LOG: [LLD][COFF] Add support for /noimplib

Mostly for compatibility reasons with link.exe this flag
makes sure we don't write a implib - not even when /implib
is also passed, that's how link.exe works.

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

Added: 
    

Modified: 
    lld/COFF/Options.td

Removed: 
    


################################################################################
diff  --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index 54555fa6f92a4..1116eb871412a 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -266,7 +266,7 @@ def threads
     : P<"threads", "Number of threads. '1' disables multi-threading. By "
                    "default all available hardware threads are used">;
 def call_graph_ordering_file: P<
-    "call-graph-ordering-file", 
+    "call-graph-ordering-file",
     "Layout sections to optimize the given callgraph">;
 defm call_graph_profile_sort: B<
     "call-graph-profile-sort",


        


More information about the llvm-commits mailing list