X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FDebugInfo%2FDIContext.cpp;h=01aecf8226e19d0b20921e40b1caa38f9a82ea14;hb=7435fa333d1b646690021bfaa9350355017d0bdf;hp=6484abcfe8291ad1f74de3f3d76f02c173ac2f59;hpb=4c0ae9066fecbbd507162a880450641aa5c33098;p=oota-llvm.git diff --git a/lib/DebugInfo/DIContext.cpp b/lib/DebugInfo/DIContext.cpp index 6484abcfe82..01aecf8226e 100644 --- a/lib/DebugInfo/DIContext.cpp +++ b/lib/DebugInfo/DIContext.cpp @@ -13,15 +13,6 @@ using namespace llvm; DIContext::~DIContext() {} -DIContext *DIContext::getDWARFContext(bool isLittleEndian, - StringRef infoSection, - StringRef abbrevSection, - StringRef aRangeSection, - StringRef lineSection, - StringRef stringSection, - StringRef rangeSection, - const RelocAddrMap *Map) { - return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection, - aRangeSection, lineSection, stringSection, - rangeSection, Map); +DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) { + return new DWARFContextInMemory(Obj); }