[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229180 91177308-0d34-0410-b5e6-96231b3b80d8

tools/dsymutil/DwarfLinker.cpp

index 7a148e266aba9b1b907a50dab0e92af0a6e57b62..be6fb3addd4cbdbece1f0c95fb1d417d4da35df9 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]; }