[lld] 1dbfd87 - [LLD] [ELF] Fix the help listing for the wrap option. NFC.

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 05:32:08 PDT 2020


Author: Martin Storsjö
Date: 2020-10-09T15:32:00+03:00
New Revision: 1dbfd87319cf3a7138292253ff086ee8fe1d0a76

URL: https://github.com/llvm/llvm-project/commit/1dbfd87319cf3a7138292253ff086ee8fe1d0a76
DIFF: https://github.com/llvm/llvm-project/commit/1dbfd87319cf3a7138292253ff086ee8fe1d0a76.diff

LOG: [LLD] [ELF] Fix the help listing for the wrap option. NFC.

This option just takes a single symbol name per invocation of the
option.

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

Added: 
    

Modified: 
    lld/ELF/Options.td

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index c533113dc18f..9f1fbd15caf7 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -468,7 +468,7 @@ defm whole_archive: B<"whole-archive",
     "Do not force load of all members in a static library (default)">;
 
 defm wrap: Eq<"wrap", "Use wrapper functions for symbol">,
-  MetaVarName<"<symbol>=<symbol>">;
+  MetaVarName<"<symbol>">;
 
 def z: JoinedOrSeparate<["-"], "z">, MetaVarName<"<option>">,
   HelpText<"Linker option extensions">;


        


More information about the llvm-commits mailing list