Make computeSymbolSizes never fail.
[oota-llvm.git] / include / llvm / Object / MachO.h
index a297969944750c962740e342b44d1cb4730293b5..ea1b63132127786ddffb42908fa8549d45ea0b98 100644 (file)
@@ -216,6 +216,8 @@ public:
   uint32_t getSymbolFlags(DataRefImpl Symb) const override;
   std::error_code getSymbolSection(DataRefImpl Symb,
                                    section_iterator &Res) const override;
+  unsigned getSymbolSectionID(SymbolRef Symb) const;
+  unsigned getSectionID(SectionRef Sec) const;
 
   void moveSectionNext(DataRefImpl &Sec) const override;
   std::error_code getSectionName(DataRefImpl Sec,