Rui Ueyama
1e3e8752a8
[PECOFF] Add /failifmismatch option.
...
llvm-svn: 187095
2013-07-25 01:23:50 +00:00
Rui Ueyama
d1d116aa89
[PECOFF] Use Windows style options instead of Unix style as primary options.
...
LLD still accepts both Unix and Windows style options when it's run as
link.exe. This patch does not change functionality.
llvm-svn: 187086
2013-07-24 23:18:02 +00:00
Rui Ueyama
fd50283c3c
[PECOFF] Add /include command line option.
...
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
2013-07-24 22:53:23 +00:00
Rui Ueyama
fbf5763708
[PECOFF] Support -tsaware:no command line option.
...
llvm-svn: 186957
2013-07-23 17:17:19 +00:00
Rui Ueyama
6a41fca856
[PECOFF] Support -fixed command line option to disable base relocations.
...
llvm-svn: 186911
2013-07-23 01:29:50 +00:00
Rui Ueyama
8e6c8f850d
[PECOFF][Driver] Add -base command line option.
...
llvm-svn: 186739
2013-07-20 00:45:00 +00:00
Rui Ueyama
99f80cf4a7
[PECOFF][Driver] Process "LINK" environment variable.
...
llvm-svn: 186654
2013-07-19 05:06:20 +00:00
Rui Ueyama
64b29d616b
[PECOFF][Driver] Add -defaultlib command line option.
...
llvm-svn: 186650
2013-07-19 04:11:37 +00:00
Rui Ueyama
5a7bbce587
[PECOFF][Driver] Interpret "LIB" environment variable.
...
llvm-svn: 186648
2013-07-19 03:27:03 +00:00
Rui Ueyama
2897feb7e0
[PECOFF] Use library search path when looking for a .lib file.
...
llvm-svn: 186645
2013-07-19 02:18:25 +00:00
Rui Ueyama
9f24922bd1
[PECOFF][Driver] Add -libpath command line option.
...
The logic to search a library from the library paths will be implemented
in a different patch.
llvm-svn: 186644
2013-07-19 01:38:49 +00:00
Rui Ueyama
4227022673
[PECOFF] Use replace_extension() instead of doing it myself.
...
llvm-svn: 186612
2013-07-18 21:38:44 +00:00
Rui Ueyama
b0b1d590ab
[WinLink] Add /LargeAddressAware command line option.
...
llvm-svn: 186428
2013-07-16 17:20:38 +00:00
Rafael Espindola
66c0a65ba1
Revert "Don't pass llvm::errs() all over the place. Diagnostics always go to stderr."
...
This reverts commit 185657. It will be used by unit tests.
llvm-svn: 186366
2013-07-15 23:55:07 +00:00
Rafael Espindola
2530f67116
Don't pass llvm::errs() all over the place. Diagnostics always go to stderr.
...
llvm-svn: 185657
2013-07-04 17:06:04 +00:00
Rui Ueyama
4a4079e839
[WinLink] Support /nxcompat command line option.
...
llvm-svn: 184050
2013-06-16 03:07:08 +00:00
Rafael Espindola
70d0c820ef
Include Path.h instead of PathV2.h.
...
I am about to move PathV2.h to Path.h.
llvm-svn: 183796
2013-06-11 22:17:04 +00:00
Rui Ueyama
daadcc59ad
[WinLink] Add -force command line option to allow undefined symbols.
...
llvm-svn: 183724
2013-06-11 04:52:14 +00:00
Rui Ueyama
9dd08d912d
[PECOFF][Driver] Add -heap command line option.
...
llvm-svn: 183622
2013-06-08 22:59:10 +00:00
Rui Ueyama
eb0cc96e4b
[PECOFF][Driver] Add -stack command line option.
...
llvm-svn: 183604
2013-06-08 03:59:00 +00:00
Rui Ueyama
7b5592bc0b
[WinLink] Fix use-after-return.
...
llvm-svn: 183603
2013-06-08 03:39:35 +00:00
Rui Ueyama
feaa72a4b0
Fix typo in comment.
...
llvm-svn: 183050
2013-05-31 22:08:30 +00:00
Rui Ueyama
739730e299
[WinLink][Driver] Add -entry command line option.
...
llvm-svn: 183034
2013-05-31 19:34:29 +00:00
Rui Ueyama
ce42bcc304
[WinLink][Driver] Add support for -subsystem optional OS version number.
...
llvm-svn: 182988
2013-05-31 06:30:10 +00:00
Rui Ueyama
5f037590de
[lld][WinLink] Fix use-after-return and add unit tests.
...
llvm-svn: 182970
2013-05-30 23:17:58 +00:00
Rui Ueyama
b33e8bcef8
[WinLink][Driver] Handle file extensions and defualt output file name.
...
llvm-svn: 182912
2013-05-30 06:00:10 +00:00
Rui Ueyama
81247063bf
[WinLink] Add -subsystem and -out command line option parsing.
...
The code to actually consume these flags will be added soon.
llvm-svn: 182824
2013-05-29 05:07:49 +00:00
Rui Ueyama
9e56839a83
[lld][PECOFF] Add WinLinkDriver and PECOFFTargetInfo.
...
Add WinLinkDriver and connect it to the existing COFF reader. Remaining
parts are still stubs, so while it can now read a COFF file, it still
cannot link or output PE/COFF files yet.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D865
llvm-svn: 182784
2013-05-28 18:13:31 +00:00