Rename a function.
authorDevang Patel <dpatel@apple.com>
Thu, 8 Apr 2010 18:43:56 +0000 (18:43 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 8 Apr 2010 18:43:56 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100797 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h

index 917bd9d2d58e4bf84dd1af0bc9a4aa81b0af7d9c..7969374c2cac9307d5b1d1c6426bb8f60881ea90 100644 (file)
@@ -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
index ba3813758da3f917b120255506984031b2edc332..3d7a88c5de9f526d047105df4c5ddf9ebf3d94b3 100644 (file)
@@ -526,10 +526,9 @@ private:
     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.