Move SymbolTable::addCombinedLTOObject() to LinkerDriver.
authorRui Ueyama <ruiu@google.com>
Thu, 23 May 2019 09:26:27 +0000 (09:26 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 23 May 2019 09:26:27 +0000 (09:26 +0000)
commit0baaf45be707c9e13e9f4d74001cb87701a519c1
tree5f0f579917b4a866bb848b0dd2181b508a4e7406
parent39192043bbfca8d4fe8562e2a2105012edaff8c3
Move SymbolTable::addCombinedLTOObject() to LinkerDriver.

Also renames it LinkerDriver::compileBitcodeFiles.

The function doesn't logically belong to SymbolTable. We added this
function to the symbol table because symbol table used to be a
container of input files. This is no longer the case.

Differential Revision: https://reviews.llvm.org/D62291

llvm-svn: 361469
lld/ELF/Driver.cpp
lld/ELF/Driver.h
lld/ELF/SymbolTable.cpp
lld/ELF/SymbolTable.h