[X86][Haswell][SchedModel] Add architecture specific scheduling models.
[oota-llvm.git] / lib / DebugInfo / DIContext.cpp
index ead57f9715954fba180109b7b3252ceeefdc9118..29ef8f29f14713ef41fdee07e3eb1e17d78d4d97 100644 (file)
@@ -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);
 }