mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Remove the dependent libraries feature.
The dependent libraries feature was never used and has bit-rotted. Remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1187,19 +1187,6 @@ bool ModuleLinker::run() {
|
||||
SrcM->getModuleInlineAsm());
|
||||
}
|
||||
|
||||
// Update the destination module's dependent libraries list with the libraries
|
||||
// from the source module. There's no opportunity for duplicates here as the
|
||||
// Module ensures that duplicate insertions are discarded.
|
||||
for (Module::lib_iterator SI = SrcM->lib_begin(), SE = SrcM->lib_end();
|
||||
SI != SE; ++SI)
|
||||
DstM->addLibrary(*SI);
|
||||
|
||||
// If the source library's module id is in the dependent library list of the
|
||||
// destination library, remove it since that module is now linked in.
|
||||
StringRef ModuleId = SrcM->getModuleIdentifier();
|
||||
if (!ModuleId.empty())
|
||||
DstM->removeLibrary(sys::path::stem(ModuleId));
|
||||
|
||||
// Loop over all of the linked values to compute type mappings.
|
||||
computeTypeMapping();
|
||||
|
||||
|
Reference in New Issue
Block a user