[lld] 6e6a5ac - [LLD] [MinGW] Move an option definitions to alphabetical order, wrap a line. NFC.

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 05:14:18 PDT 2020


Author: Martin Storsjö
Date: 2020-10-07T15:14:07+03:00
New Revision: 6e6a5acf005681d6b6815c0618d0d263ef8397fa

URL: https://github.com/llvm/llvm-project/commit/6e6a5acf005681d6b6815c0618d0d263ef8397fa
DIFF: https://github.com/llvm/llvm-project/commit/6e6a5acf005681d6b6815c0618d0d263ef8397fa.diff

LOG: [LLD] [MinGW] Move an option definitions to alphabetical order, wrap a line. NFC.

Added: 
    

Modified: 
    lld/MinGW/Options.td

Removed: 
    


################################################################################
diff  --git a/lld/MinGW/Options.td b/lld/MinGW/Options.td
index d9f64c40ac53..0604b458193c 100644
--- a/lld/MinGW/Options.td
+++ b/lld/MinGW/Options.td
@@ -80,7 +80,10 @@ def strip_all: F<"strip-all">,
     HelpText<"Omit all symbol information from the output binary">;
 def strip_debug: F<"strip-debug">,
     HelpText<"Omit all debug information, but keep symbol information">;
-defm reproduce: Eq<"reproduce", "Write a tar file containing input files and command line options to reproduce link">;
+defm reproduce: Eq<"reproduce",
+     "Write a tar file containing input files and command line options to reproduce link">;
+defm require_defined: Eq<"require-defined",
+     "Force symbol to be added to symbol table as an undefined one">;
 defm undefined: Eq<"undefined", "Include symbol in the link, if available">;
 defm whole_archive: B<"whole-archive",
     "Include all object files for following archives",
@@ -88,8 +91,6 @@ defm whole_archive: B<"whole-archive",
 def v: Flag<["-"], "v">, HelpText<"Display the version number">;
 def verbose: F<"verbose">, HelpText<"Verbose mode">;
 def version: F<"version">, HelpText<"Display the version number and exit">;
-defm require_defined: Eq<"require-defined",
-     "Force symbol to be added to symbol table as an undefined one">;
 
 // LLD specific options
 def _HASH_HASH_HASH : Flag<["-"], "###">,


        


More information about the llvm-commits mailing list