[llvm-commits] [llvm] r100797 - in /llvm/trunk/lib/CodeGen/AsmPrinter: DwarfDebug.cpp DwarfDebug.h
Devang Patel
dpatel at apple.com
Thu Apr 8 11:43:56 PDT 2010
Author: dpatel
Date: Thu Apr 8 13:43:56 2010
New Revision: 100797
URL: http://llvm.org/viewvc/llvm-project?rev=100797&view=rev
Log:
Rename a function.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=100797&r1=100796&r2=100797&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Thu Apr 8 13:43:56 2010
@@ -2241,15 +2241,14 @@
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
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=100797&r1=100796&r2=100797&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Thu Apr 8 13:43:56 2010
@@ -526,10 +526,9 @@
return Lines.size();
}
- /// populateDbgScopeInverseMaps() - Populate DbgScopeBeginMap and
- /// DbgScopeEndMap. This maps are used to indentify debug scope started
- /// and ended by an instruction.
- void populateDbgScopeInverseMaps();
+ /// identifyScopeMarkers() - Indentify instructions that are marking
+ /// beginning of or end of a scope.
+ void identifyScopeMarkers();
/// extractScopeInformation - Scan machine instructions in this function
/// and collect DbgScopes. Return true, if atleast one scope was found.
More information about the llvm-commits
mailing list