summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-11-22 21:10:19 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-11-22 21:10:19 +0000
commitfd872e963795c0ed3a611801c0ed9cf5500110e6 (patch)
treeb423d64aac94e9c010d64fb49ed689437d945169 /lld/lib/ReaderWriter
parentc004ffcd427d62bf91ab0c12c38a8113bde12ebe (diff)
downloadbcm5719-llvm-fd872e963795c0ed3a611801c0ed9cf5500110e6.tar.gz
bcm5719-llvm-fd872e963795c0ed3a611801c0ed9cf5500110e6.zip
MachONormalizedFile.h: Remove unimplemented function
dump had no definition, so op<< was never usable anyway - remove the definition of the latter and the declaration of the former. llvm-svn: 318880
Diffstat (limited to 'lld/lib/ReaderWriter')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachONormalizedFile.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h b/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
index d5885942515..7eeb8adbd84 100644
--- a/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
+++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
@@ -124,15 +124,6 @@ struct Section {
ArrayRef<uint8_t> content;
Relocations relocations;
IndirectSymbols indirectSymbols;
-
-#ifndef NDEBUG
- raw_ostream& operator<<(raw_ostream &OS) const {
- dump(OS);
- return OS;
- }
-
- void dump(raw_ostream &OS = llvm::dbgs()) const;
-#endif
};
OpenPOWER on IntegriCloud