Fix indentation.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182714 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Skip section names in the symbol table because they are not atoms.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182721 91177308-0d34-0410-b5e6-96231b3b80d8
[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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182784 91177308-0d34-0410-b5e6-96231b3b80d8
[Driver] Parallelize reading initial object files.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182786 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF][Reader] Kind in this context refers to File::Kind. Qualify with Reference::Kind.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182789 91177308-0d34-0410-b5e6-96231b3b80d8
[Passes] Parallelize the layout pass sort.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182792 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Make addressOfAtom thread safe.

The expression _atomToAddressMap[atom] may modify _atomToAddressMap.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182793 91177308-0d34-0410-b5e6-96231b3b80d8
[Core] Add parallel_for_each.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182795 91177308-0d34-0410-b5e6-96231b3b80d8
[WinLink] Add -subsystem and -out command line option parsing.

The code to actually consume these flags will be added soon.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182824 91177308-0d34-0410-b5e6-96231b3b80d8
[lld][elf] Add --dynamic-linker option to the ELF linker.
Users can override the default value of the dynamic linker to be set to the
one that appears in the command line. The path can even be empty!. 

Added a test for the option.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182889 91177308-0d34-0410-b5e6-96231b3b80d8
[WinLink][Driver] Handle file extensions and defualt output file name.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182912 91177308-0d34-0410-b5e6-96231b3b80d8
[lld][WinLink] Fix use-after-return and add unit tests.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182970 91177308-0d34-0410-b5e6-96231b3b80d8
[WinLink] Add a test for Windows-style command line options.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182971 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "[Passes] Parallelize the layout pass sort."

Inconsistent (and wrong) sort order on non-Windows.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182975 91177308-0d34-0410-b5e6-96231b3b80d8
[Driver] Add unit tests for GnuLdDriver.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182980 91177308-0d34-0410-b5e6-96231b3b80d8
Fix typo in file header.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@182985 91177308-0d34-0410-b5e6-96231b3b80d8
[WinLink][Driver] Add support for -subsystem optional OS version number.

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