summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-08 18:43:56 +0000
committerDevang Patel <dpatel@apple.com>2010-04-08 18:43:56 +0000
commit359b013129d3e7ae802a46552f0069f16d8b93a8 (patch)
treea5cb9d6df59f660715080b3d146dd850d6650149 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent294a90d87aac3029c2fa005942590deff87e2072 (diff)
downloadbcm5719-llvm-359b013129d3e7ae802a46552f0069f16d8b93a8.tar.gz
bcm5719-llvm-359b013129d3e7ae802a46552f0069f16d8b93a8.zip
Rename a function.
llvm-svn: 100797
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 917bd9d2d58..7969374c2ca 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud