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:
Rafael Espindola
2013-06-19 16:47:34 +00:00
parent 3baf01bd95
commit dd3ef1a13b
2 changed files with 0 additions and 33 deletions

View File

@@ -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*