diff options
author | Devang Patel <dpatel@apple.com> | 2010-04-08 18:43:56 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-04-08 18:43:56 +0000 |
commit | e37b0c6c25262b6c9ef4f1595b18e77f299b5035 (patch) | |
tree | 5f79b11d98d587c2a219885298b6f565b9200258 /lib | |
parent | d0024fec256659b45350387289e5d4520f15dc6d (diff) | |
download | llvm-e37b0c6c25262b6c9ef4f1595b18e77f299b5035.tar.gz llvm-e37b0c6c25262b6c9ef4f1595b18e77f299b5035.tar.bz2 llvm-e37b0c6c25262b6c9ef4f1595b18e77f299b5035.tar.xz |
Rename a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 9 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 7 |
2 files changed, 7 insertions, 9 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 diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index ba3813758d..3d7a88c5de 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -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. |