summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/COFFDumper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-readobj/COFFDumper.cpp')
-rw-r--r--llvm/tools/llvm-readobj/COFFDumper.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/tools/llvm-readobj/COFFDumper.cpp b/llvm/tools/llvm-readobj/COFFDumper.cpp
index 0202e0316ee..348f5b43556 100644
--- a/llvm/tools/llvm-readobj/COFFDumper.cpp
+++ b/llvm/tools/llvm-readobj/COFFDumper.cpp
@@ -113,10 +113,6 @@ private:
uint32_t RelocOffset, uint32_t Offset,
StringRef *RelocSym = nullptr);
- void printRelocatedField(StringRef Label, const coff_section *Sec,
- StringRef SectionContents, const ulittle32_t *Field,
- StringRef *RelocSym = nullptr);
-
void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
StringRef SectionContents, StringRef Block);
@@ -264,18 +260,6 @@ void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec,
W.printHex(Label, RelocOffset);
}
-void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec,
- StringRef SectionContents,
- const ulittle32_t *Field,
- StringRef *RelocSym) {
- StringRef SymStorage;
- StringRef &Symbol = RelocSym ? *RelocSym : SymStorage;
- if (!resolveSymbolName(Sec, SectionContents, Field, Symbol))
- W.printSymbolOffset(Label, Symbol, *Field);
- else
- W.printHex(Label, *Field);
-}
-
void COFFDumper::printBinaryBlockWithRelocs(StringRef Label,
const SectionRef &Sec,
StringRef SectionContents,
OpenPOWER on IntegriCloud