Move alias symbols from ELFLinkingContext to LinkingContext.
authorRui Ueyama <ruiu@google.com>
Thu, 22 May 2014 21:37:56 +0000 (21:37 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 22 May 2014 21:37:56 +0000 (21:37 +0000)
commitba46cdb21ffbf9018c818220992dcc0494195348
tree883f18c5f7035e493b806cd0d2e583f93d7d3197
parent99ee10d2b83ba4000e14fbb5639174260fcdfb1c
Move alias symbols from ELFLinkingContext to LinkingContext.

Alias symbols are SimpleDefinedAtoms and are platform neutral. They
don't have to belong ELF. This patch is to make it available to all
platforms. No functionality change intended.

Differential Revision: http://reviews.llvm.org/D3862

llvm-svn: 209475
lld/include/lld/Core/LinkingContext.h
lld/include/lld/ReaderWriter/Alias.h [new file with mode: 0644]
lld/include/lld/ReaderWriter/ELFLinkingContext.h
lld/lib/Core/LinkingContext.cpp
lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp