[DWARF parser] Make a few methods non-public
[oota-llvm.git] / lib / DebugInfo / DWARFTypeUnit.h
index 365aa2699664e206f1bca3d30c16c3e655aa311d..cf773b8d8ef34d4bbdf1779b7d7cb385f9f5b27c 100644 (file)
@@ -23,7 +23,9 @@ public:
                 StringRef SS, StringRef SOS, StringRef AOS,
                 const RelocAddrMap *M, bool LE)
       : DWARFUnit(DA, IS, RS, SS, SOS, AOS, M, LE) {}
-  uint32_t getSize() const override { return DWARFUnit::getSize() + 12; }
+  uint32_t getHeaderSize() const override {
+    return DWARFUnit::getHeaderSize() + 12;
+  }
   void dump(raw_ostream &OS);
 protected:
   bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override;