Constify input argument of RelocVisitor and DWARFContext constructors. NFC.
[oota-llvm.git] / lib / DebugInfo / DWARFContext.h
index 05c6accd2e4305d5a631827b936f0bb03ee74f01..c4586b0d4c1f7a703b31f9bf41b95799aa2f2263 100644 (file)
@@ -240,7 +240,7 @@ class DWARFContextInMemory : public DWARFContext {
   SmallVector<SmallString<32>, 4> UncompressedSections;
 
 public:
-  DWARFContextInMemory(object::ObjectFile &);
+  DWARFContextInMemory(const object::ObjectFile &Obj);
   bool isLittleEndian() const override { return IsLittleEndian; }
   uint8_t getAddressSize() const override { return AddressSize; }
   const DWARFSection &getInfoSection() override { return InfoSection; }