- Nov 15, 2013
-
-
Rui Ueyama authored
llvm-svn: 194757
-
- Nov 06, 2013
-
-
Rui Ueyama authored
/section command line option is to set/reset attributes of the Characteristics field in the section header. You can set non-default values with this option. You can make .data section executable with this, for example. This patch implements the parser of the command line option. The code to use the parsed values will be committed in a separate patch. llvm-svn: 194133
-
Rui Ueyama authored
I'm not sure if it is really an alias for /nodefaultlib, but I can say that they are at least similar. Making it an alias would be better than ignoring it. llvm-svn: 194131
-
Rui Ueyama authored
msvcrt.lib contains "/disallowlib" command line option in its .drectve section. I couldn't spot any documentation for the option. Ignore it for now so that we can link the library without error. llvm-svn: 194114
-
- Oct 26, 2013
-
-
Rui Ueyama authored
/merge:<from>=<to> option makes the linker to combine "from" section to "to" section. This patch is to parse the option. The actual feature will be implemented in a subsequent patch. llvm-svn: 193454
-
- Oct 22, 2013
-
-
Rui Ueyama authored
llvm-svn: 193201
-
Rui Ueyama authored
/manifestfile:<path> specifies an alternative manifest file output path. Default is "<output-path>.manifest" where <output-path> is the executable's path. llvm-svn: 193195
-
Rui Ueyama authored
The manifest file is an XML file that conveys some information to the loader, such as whether the executable needs to run as Administrator or not. This patch is to parse command line option for manifest file. Actual XML file generation will be done in a separate patch. llvm-svn: 193141
-
- Sep 24, 2013
-
-
Rui Ueyama authored
llvm-svn: 191320
-
Rui Ueyama authored
llvm-svn: 191317
-
Rui Ueyama authored
llvm-svn: 191276
-
Rui Ueyama authored
/PDBALTPATH:<path> is an option to embed a different path for the PDB file to the binary than the actual PDB file location. Because we don't support PDB file, we'll just ignore the option for now. llvm-svn: 191273
-
Rui Ueyama authored
llvm-svn: 191271
-
Rui Ueyama authored
llvm-svn: 191269
-
Rui Ueyama authored
llvm-svn: 191268
-
Rui Ueyama authored
llvm-svn: 191254
-
Rui Ueyama authored
We used to support both Windows and Unix style command line options. In Windows style, an option and its value are separated by ":" (colon). In Unix, separator is a space. Accepting both styles were convenient, but we can no longer allow Unix style because I found that can be ambiguous. For example, /nodefaultlib option takes an optional argument. In Windows style it's going to be something like "/nodefaultlib:foo". There's no ambiguity what "foo" means. However, if the option is "/nodefaultlib foo", "foo" can be interpreted either an optional argument for "/nodefaultlib" or an input file "foo.obj". We should just stop accepting the non-standard command line style. llvm-svn: 191247
-
Rui Ueyama authored
These options are to enable DLL delay loading. If enabled, DLL is loaded at run time by a helper routine when a function in the DLL is actually called for the first time, instead of making the Windows loader to load all DLLs at startup time. This should shorten startup delay if an executable have many imported symbols. The linker needs to create a "delayed import table" and link delayimp.lib in which helper functions are defined to support the feature. For now, we just ignore the options, so that the linker does not complain when it sees these options. We want to support them in the future. llvm-svn: 191232
-
- Sep 23, 2013
-
-
Rui Ueyama authored
llvm-svn: 191227
-
Rui Ueyama authored
llvm-svn: 191224
-
Rui Ueyama authored
llvm-svn: 191223
-
Rui Ueyama authored
llvm-svn: 191218
-
- Sep 20, 2013
-
-
Rui Ueyama authored
/incremental is an option to enable incremental linking. We will eventually want to implement the feature for better performance, but in the meantime, we want to just ignore the option so that the linker does not output unknown option error when it sees /incremental option. llvm-svn: 191063
-
Rui Ueyama authored
/errorReport is a command line option to let the linker to report internal linker error information to Microsoft. For LLD that option doesn't make any sense, so it just ignores the option. llvm-svn: 191044
-
- Sep 19, 2013
-
-
Rui Ueyama authored
llvm-svn: 190986
-
- Sep 06, 2013
-
-
Rui Ueyama authored
llvm-svn: 190121
-
- Sep 04, 2013
-
-
Rui Ueyama authored
The compiler is allowed to add a linker option starting with -?<name> to .drectve section. If the linker can interpret -<name>, it's processed as if there's no question mark there. If not, such option is silently ignored. This is a COFF's feature to allow the compiler to emit new linker options while keeping compatibility with older linkers. llvm-svn: 189897
-
- Aug 29, 2013
-
-
Rui Ueyama authored
llvm-svn: 189614
-
- Aug 27, 2013
-
-
Rui Ueyama authored
llvm-svn: 189308
-
- Aug 24, 2013
-
-
Rui Ueyama authored
in order to match link.exe's behaviour. Patch by Ron Ofir. llvm-svn: 189159
-
- Aug 13, 2013
-
-
Hans Wennborg authored
This used to be handled automagically by the option parsing library, but after LLVM r188314, we should handle it ourselves. No functionality change, but adds a test. llvm-svn: 188318
-
- Aug 01, 2013
-
-
Rui Ueyama authored
This patch does not change the behavior of LLD, but changes the output of the help text. We want to show the help text with Windows style indicator rather than Unix style indicator. llvm-svn: 187544
-
Rui Ueyama authored
llvm-svn: 187539
-
- Jul 26, 2013
-
-
Rui Ueyama authored
llvm-svn: 187243
-
Rui Ueyama authored
llvm-svn: 187162
-
- Jul 25, 2013
-
-
Rui Ueyama authored
llvm-svn: 187095
-
Rui Ueyama authored
It's still not as simple as it should be because of the many duplicated lines, but it's at least better than before. llvm-svn: 187091
-
Rui Ueyama authored
The /include command line option is equivalent to Unix --undefined option, which forces the linker to resolve the given symbol name as if it's an unresolved symbol in one of its input files. This feature is used to link an additional object file or a shared library that no input files refer to. llvm-svn: 187084
-
- Jul 23, 2013
-
-
Rui Ueyama authored
llvm-svn: 186957
-
Rui Ueyama authored
llvm-svn: 186911
-