Change the parseFile argument from MemoryBuffer pointer to LinkerInput
reference. Move readFile logic into FileNode::createLinkerInput.


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


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


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@190255 91177308-0d34-0410-b5e6-96231b3b80d8
Drop the context forceLoadAllArchives() support. Rename the isForceLoad
attribute in LinkerInput to isWholeArchive and use that for deciding
whether library archives should be expanded. Implement the -all_load
option of the Darwin linker using this flag and drop the support for it
in GNU mode.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@190275 91177308-0d34-0410-b5e6-96231b3b80d8
Recognize -Bstatic as alias for -static, clang uses it.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@190301 91177308-0d34-0410-b5e6-96231b3b80d8
Handle _DYNAMIC correctly in the x86_64 backend.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@190302 91177308-0d34-0410-b5e6-96231b3b80d8
Use _isWholeArchive to silence -Wunused-private-field warning.

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