Make computeSymbolSizes never fail.
[oota-llvm.git] / include / llvm / Object / COFF.h
index 3432f630dea2432ac966c0aa3f16d2ef9c8ade69..6755ae0333ba4cf62429e7b5edfb530ac5c7c35b 100644 (file)
@@ -681,6 +681,8 @@ public:
   COFFSymbolRef getCOFFSymbol(const DataRefImpl &Ref) const;
   COFFSymbolRef getCOFFSymbol(const SymbolRef &Symbol) const;
   const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const;
+  unsigned getSectionID(SectionRef Sec) const;
+  unsigned getSymbolSectionID(SymbolRef Sym) const;
 
   uint8_t getBytesInAddress() const override;
   StringRef getFileFormatName() const override;