mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Remove unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -363,18 +363,6 @@ Archive::loadSymbolTable(std::string* ErrorMsg) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Open the archive and load just the symbol tables
|
||||
Archive* Archive::OpenAndLoadSymbols(const sys::Path& File,
|
||||
LLVMContext& C,
|
||||
std::string* ErrorMessage) {
|
||||
OwningPtr<Archive> result ( new Archive(File, C) );
|
||||
if (result->mapToMemory(ErrorMessage))
|
||||
return NULL;
|
||||
if (!result->loadSymbolTable(ErrorMessage))
|
||||
return NULL;
|
||||
return result.take();
|
||||
}
|
||||
|
||||
// Look up one symbol in the symbol table and return the module that defines
|
||||
// that symbol.
|
||||
Module*
|
||||
|
Reference in New Issue
Block a user