COFF: Remove dead code.

llvm-svn: 240846
This commit is contained in:
Rui Ueyama 2015-06-26 22:14:41 +00:00
parent f48e982706
commit 81ba1353ce
2 changed files with 0 additions and 12 deletions

View File

@ -228,15 +228,6 @@ std::error_code SymbolTable::rename(StringRef From, StringRef To) {
return std::error_code();
}
void SymbolTable::dump() {
for (auto &P : Symtab) {
Symbol *Ref = P.second;
if (auto *Body = dyn_cast<Defined>(Ref->Body))
llvm::dbgs() << Twine::utohexstr(Config->ImageBase + Body->getRVA())
<< " " << Body->getName() << "\n";
}
}
void SymbolTable::printMap(llvm::raw_ostream &OS) {
for (ObjectFile *File : ObjectFiles) {
OS << File->getShortName() << ":\n";

View File

@ -60,9 +60,6 @@ public:
// entry point name.
ErrorOr<StringRef> findDefaultEntry();
// Dump contents of the symbol table to stderr.
void dump();
// Print a layout map to OS.
void printMap(llvm::raw_ostream &OS);