summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DIContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DebugInfo/DIContext.cpp')
-rw-r--r--lib/DebugInfo/DIContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DebugInfo/DIContext.cpp b/lib/DebugInfo/DIContext.cpp
index 49a44097d3e2..20bc01f8e710 100644
--- a/lib/DebugInfo/DIContext.cpp
+++ b/lib/DebugInfo/DIContext.cpp
@@ -8,11 +8,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/DebugInfo/DIContext.h"
-#include "DWARFContext.h"
+#include "llvm/DebugInfo/DWARFContext.h"
using namespace llvm;
DIContext::~DIContext() {}
-DIContext *DIContext::getDWARFContext(object::ObjectFile *Obj) {
+DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
return new DWARFContextInMemory(Obj);
}