style changes

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172080 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Fixed -Wunused in -asserts  mode.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172131 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Fix leading 0 count. Matches change in llvm.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172132 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Add support for __init_array_{start,end}.

With this change c++ global constructors and destructors work.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172133 91177308-0d34-0410-b5e6-96231b3b80d8
add hexagon target to lld

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172202 91177308-0d34-0410-b5e6-96231b3b80d8
add noinhibit exec option

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172204 91177308-0d34-0410-b5e6-96231b3b80d8
better implementation for findOutputSection

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172236 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Simplify assert.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172255 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Use the correct cast.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172264 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Add AtomLayout instead of using pair<Atom, pair<uint64_t, uint64_t>>.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172266 91177308-0d34-0410-b5e6-96231b3b80d8
Factor File::addAtom out to MutableFile::addAtom.

This removes a bunch of llvm_unreachables and makes a File's mutability part of the type system.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172297 91177308-0d34-0410-b5e6-96231b3b80d8
[YAML] Fix undefined behavior.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172338 91177308-0d34-0410-b5e6-96231b3b80d8
[test] Fix tests on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172339 91177308-0d34-0410-b5e6-96231b3b80d8
Fix shadowed variable warning

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172482 91177308-0d34-0410-b5e6-96231b3b80d8
Add new merge-by-content Merge attribute for use by anonymous
constants and string literals which the linker should coalesce.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172495 91177308-0d34-0410-b5e6-96231b3b80d8
[docs] Update status.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172501 91177308-0d34-0410-b5e6-96231b3b80d8
[docs] Add driver documentation.

This gives an overview of the driver and explains how to add options and driver flavors.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172502 91177308-0d34-0410-b5e6-96231b3b80d8
remove const from FindByName

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@172507 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Fix use of LLVM RTTI.

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