[dsymutil] constify trivial function.
authorFrederic Riss <friss@apple.com>
Fri, 13 Feb 2015 23:18:27 +0000 (23:18 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 13 Feb 2015 23:18:27 +0000 (23:18 +0000)
llvm-svn: 229180

llvm/tools/dsymutil/DwarfLinker.cpp

index 7a148e2..be6fb3a 100644 (file)
@@ -34,7 +34,7 @@ public:
     Info.resize(OrigUnit.getNumDIEs());
   }
 
-  DWARFUnit &getOrigUnit() { return OrigUnit; }
+  DWARFUnit &getOrigUnit() const { return OrigUnit; }
 
   DIEInfo &getInfo(unsigned Idx) { return Info[Idx]; }
   const DIEInfo &getInfo(unsigned Idx) const { return Info[Idx]; }