X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FDebugInfo%2FDIContext.cpp;h=29ef8f29f14713ef41fdee07e3eb1e17d78d4d97;hb=d2ea3168ae9117324582210007a18ffc31fb6586;hp=ead57f9715954fba180109b7b3252ceeefdc9118;hpb=eceb5b99777ba944a0ae3748a0371e9a3aa94d56;p=oota-llvm.git diff --git a/lib/DebugInfo/DIContext.cpp b/lib/DebugInfo/DIContext.cpp index ead57f97159..29ef8f29f14 100644 --- a/lib/DebugInfo/DIContext.cpp +++ b/lib/DebugInfo/DIContext.cpp @@ -13,14 +13,6 @@ using namespace llvm; DIContext::~DIContext() {} -DIContext *DIContext::getDWARFContext(bool isLittleEndian, - StringRef infoSection, - StringRef abbrevSection, - StringRef aRangeSection, - StringRef lineSection, - StringRef stringSection, - StringRef rangeSection) { - return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection, - aRangeSection, lineSection, stringSection, - rangeSection); +DIContext *DIContext::getDWARFContext(object::ObjectFile &Obj) { + return new DWARFContextInMemory(Obj); }