Adding kalimba variants as Triple sub-architectures.
[oota-llvm.git] / lib / DebugInfo / DIContext.cpp
index e2fd55fd6ef8f319011536b67d3f053da0f21575..29ef8f29f14713ef41fdee07e3eb1e17d78d4d97 100644 (file)
@@ -13,12 +13,6 @@ using namespace llvm;
 
 DIContext::~DIContext() {}
 
-DIContext *DIContext::getDWARFContext(bool isLittleEndian,
-                                      StringRef infoSection,
-                                      StringRef abbrevSection,
-                                      StringRef aRangeSection,
-                                      StringRef lineSection,
-                                      StringRef stringSection) {
-  return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection,
-                                  aRangeSection, lineSection, stringSection);
+DIContext *DIContext::getDWARFContext(object::ObjectFile &Obj) {
+  return new DWARFContextInMemory(Obj);
 }