More renaming.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@146829 91177308-0d34-0410-b5e6-96231b3b80d8
Initial commit. Code by Nick Kledzik. Cleanups and build system by me.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@146844 91177308-0d34-0410-b5e6-96231b3b80d8
add parseObjectTextFileOrSTDIN() utility

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@146931 91177308-0d34-0410-b5e6-96231b3b80d8
Refactor and comment Atom attributes.  Replace combine() with internalName() and mergeDuplicates()

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@146958 91177308-0d34-0410-b5e6-96231b3b80d8
Cleaned up Atom attribues some more.  Added lots of doxygen comments

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@147105 91177308-0d34-0410-b5e6-96231b3b80d8
Add more merging/coalescing test cases and make core linking work for them

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@147130 91177308-0d34-0410-b5e6-96231b3b80d8
Support more Atom attributes.  Add more test cases to lld-core

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@147571 91177308-0d34-0410-b5e6-96231b3b80d8
add initial support for coalescing by content (c-strings) with test case

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@147799 91177308-0d34-0410-b5e6-96231b3b80d8
A couple of big refactorings: 1) Move most attributes of Atom down to DefinedAtom, so only atoms representing definitions need to implement them. 2) Remove definitionTentative, definitionWeak, mergeDuplicates, and autoHide.  Replace with merge and interposable attributes. 3) Make all methods on Atom be virtual so that future object file readers can lazily generated attributes

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@147903 91177308-0d34-0410-b5e6-96231b3b80d8
First chunk of native object file reader/writer.  The lld-core tool now reads YAML file, links, writes that out as native object format, then reads that native file, then writes the YAML to stdout.  Thus the test suite tests both YAML reading/writing as well as native object file reading/writing.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@148256 91177308-0d34-0410-b5e6-96231b3b80d8
NULL requires including cstddef. Just use 0.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149425 91177308-0d34-0410-b5e6-96231b3b80d8
Flexible array members are not in C++03, and MSVC doesn't support them.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149426 91177308-0d34-0410-b5e6-96231b3b80d8
If cont.size() is 0, the expression &_contentPool[result] has undefined
behaivior because it indexes past the end of _contentPool.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149427 91177308-0d34-0410-b5e6-96231b3b80d8
Add pretty stack tracing and llvm_shutdown.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149428 91177308-0d34-0410-b5e6-96231b3b80d8
Fix use after free.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149429 91177308-0d34-0410-b5e6-96231b3b80d8
&vectorval[0] is UB when vectorval.size() == 0.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149430 91177308-0d34-0410-b5e6-96231b3b80d8
Don't delete the temp file until after we finish reading from it.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@149432 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for UndefinedAtom in yaml and native format.  Add test cases with undefined atoms

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



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