diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 917bd9d2d5..7969374c2c 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2241,15 +2241,14 @@ bool DwarfDebug::extractScopeInformation() { CurrentFnDbgScope->fixInstructionMarkers(MIIndexMap); - populateDbgScopeInverseMaps(); + identifyScopeMarkers(); return !DbgScopeMap.empty(); } -/// populateDbgScopeInverseMaps() - Populate DbgScopeBeginMap and -/// DbgScopeEndMap. This maps are used to indentify debug scope started -/// and ended by an instruction. -void DwarfDebug::populateDbgScopeInverseMaps() { +/// identifyScopeMarkers() - Indentify instructions that are marking +/// beginning of or end of a scope. +void DwarfDebug::identifyScopeMarkers() { // Each scope has first instruction and last instruction to mark beginning // and end of a scope respectively. Create an inverse map that list scopes |