[lld][WinLink] Fix typo


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191079 91177308-0d34-0410-b5e6-96231b3b80d8
GC empty directory


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191106 91177308-0d34-0410-b5e6-96231b3b80d8
[lld][LinkingContext][ELF] Allow different output file types.

This adds an option --output-filetype that can be set to either
YAML/Native(case insensitive). The linker would create the outputs
associated with the type specified by the user.

Changes all the tests to use the new option.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191183 91177308-0d34-0410-b5e6-96231b3b80d8
[lld][ELF] Remove invalid comment

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191207 91177308-0d34-0410-b5e6-96231b3b80d8
[lld][PECOFF] Calculate SizeOfHeaders field instead of using a hard-coded value

Summary: This patch changes WritePECOFF to calculate the value of the SizeOfHeaders PE header field instead of just using 512.

Reviewers: rui314, ruiu

Reviewed By: ruiu

CC: llvm-commits, ruiu

Differential Revision: http://llvm-reviews.chandlerc.com/D1708

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191212 91177308-0d34-0410-b5e6-96231b3b80d8
Whitespace and extra parentheses.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191217 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Add /align command line option.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191218 91177308-0d34-0410-b5e6-96231b3b80d8