Allow the C API users to keep relying on the OutMessages parameter.
[oota-llvm.git] / lib / DebugInfo / DIContext.cpp
index 29ef8f29f14713ef41fdee07e3eb1e17d78d4d97..01aecf8226e19d0b20921e40b1caa38f9a82ea14 100644 (file)
@@ -13,6 +13,6 @@ using namespace llvm;
 
 DIContext::~DIContext() {}
 
-DIContext *DIContext::getDWARFContext(object::ObjectFile &Obj) {
+DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
   return new DWARFContextInMemory(Obj);
 }