[llvm-commits] [lld] r155861 - /lld/trunk/tools/lld/TODO.txt

Michael J. Spencer bigcheesegs at gmail.com
Mon Apr 30 16:45:49 PDT 2012


Author: mspencer
Date: Mon Apr 30 18:45:49 2012
New Revision: 155861

URL: http://llvm.org/viewvc/llvm-project?rev=155861&view=rev
Log:
Add some docs on the type of flags link.exe has that our driver will need to support.

Modified:
    lld/trunk/tools/lld/TODO.txt

Modified: lld/trunk/tools/lld/TODO.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/lld/TODO.txt?rev=155861&r1=155860&r2=155861&view=diff
==============================================================================
--- lld/trunk/tools/lld/TODO.txt (original)
+++ lld/trunk/tools/lld/TODO.txt Mon Apr 30 18:45:49 2012
@@ -12,3 +12,40 @@
 .. _ld64: https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/Xcode-3.2.5/man1/ld.1.html
 .. _link.exe: http://msdn.microsoft.com/en-us/library/y0zzbyt4(v=vs.110).aspx
 .. _Clang's: http://clang.llvm.org/docs/DriverInternals.html
+
+Driver Requirements
+*******************
+
+The following are the different types of arguments that the driver will need to
+support for compatibility with each linker.
+
+link.exe
+^^^^^^^^
+
+Output: Default output filename is the name of the first file with .obj on the
+        command line with .exe or .dll appended. Override with /OUT.
+
+Options are case insensitive and can begin with - or /.
+
+Types of options:
+
+* @response_file
+* {-/}flag
+* {-/}flag[:number]
+* {-/}flag[:string]
+* {-/}flag:string
+* {-/}flag:string[,[string][,string]]
+* {-/}flag:string[,number]
+* {-/}flag:@string,string
+* {-/}flag:string[, at string[,string]][,string]
+* {-/}flag:[string\]string
+* {-/}flag:[string | string=string]
+* {-/}flag:string,[[!]{DEKPRSW}][,ALIGN=#]
+
+When options conflict, the last one wins.
+
+ld64
+^^^^
+
+gnuld
+^^^^^





More information about the llvm-commits mailing list