forked from OSchip/llvm-project
parent
f48e982706
commit
81ba1353ce
|
@ -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";
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue