Rename DWARFContext::getLineTableForCompileUnit to getLineTableForUnit.
[oota-llvm.git] / lib / DebugInfo / DWARFContext.h
index f4c05c7d57361ec9f39d509037c05a6a7bfe96c1..b72c119d2534da5ba4a9d5fa5921a4c57e4a0b1a 100644 (file)
@@ -159,8 +159,7 @@ public:
   const DWARFDebugFrame *getDebugFrame();
 
   /// Get a pointer to a parsed line table corresponding to a compile unit.
-  const DWARFDebugLine::LineTable *
-  getLineTableForCompileUnit(DWARFCompileUnit *cu);
+  const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *cu);
 
   DILineInfo getLineInfoForAddress(uint64_t Address,
       DILineInfoSpecifier Specifier = DILineInfoSpecifier()) override;