[Lldb-commits] [lldb] r116562 - in /lldb/trunk: lldb.xcodeproj/project.pbxproj source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
Greg Clayton
gclayton at apple.com
Thu Oct 14 19:45:05 PDT 2010
Author: gclayton
Date: Thu Oct 14 21:45:05 2010
New Revision: 116562
URL: http://llvm.org/viewvc/llvm-project?rev=116562&view=rev
Log:
Did a bit of parameter renaming.
Modified:
lldb/trunk/lldb.xcodeproj/project.pbxproj
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lldb.xcodeproj/project.pbxproj?rev=116562&r1=116561&r2=116562&view=diff
==============================================================================
--- lldb/trunk/lldb.xcodeproj/project.pbxproj (original)
+++ lldb/trunk/lldb.xcodeproj/project.pbxproj Thu Oct 14 21:45:05 2010
@@ -2445,6 +2445,7 @@
isa = PBXProject;
buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "lldb" */;
compatibilityVersion = "Xcode 3.1";
+ developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
en,
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp?rev=116562&r1=116561&r2=116562&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp Thu Oct 14 21:45:05 2010
@@ -564,14 +564,14 @@
DWARFCompileUnit::Index
(
const uint32_t cu_idx,
- NameToDIE& base_name_to_function_die,
- NameToDIE& full_name_to_function_die,
- NameToDIE& method_name_to_function_die,
- NameToDIE& selector_name_to_function_die,
- NameToDIE& objc_class_selector_dies,
- NameToDIE& name_to_global_die,
- NameToDIE& name_to_type_die,
- NameToDIE& name_to_namespace_die,
+ NameToDIE& func_basenames,
+ NameToDIE& func_fullnames,
+ NameToDIE& func_methods,
+ NameToDIE& func_selectors,
+ NameToDIE& objc_class_selectors,
+ NameToDIE& globals,
+ NameToDIE& types,
+ NameToDIE& namespaces,
const DWARFDebugRanges *debug_ranges,
DWARFDebugAranges *aranges
)
@@ -799,14 +799,14 @@
// Keep a map of the objective C class name to all selector
// DIEs
- objc_class_selector_dies.Insert(class_name, die_info);
+ objc_class_selectors.Insert(class_name, die_info);
// Skip the space
++method_name;
// Extract the objective C basename and add it to the
// accelerator tables
size_t method_name_len = name_len - (method_name - name) - 1;
- selector_name_to_function_die.Insert (ConstString (method_name, method_name_len), die_info);
+ func_selectors.Insert (ConstString (method_name, method_name_len), die_info);
}
}
}
@@ -843,14 +843,14 @@
if (is_method)
- method_name_to_function_die.Insert (ConstString(name), die_info);
+ func_methods.Insert (ConstString(name), die_info);
else
- base_name_to_function_die.Insert (ConstString(name), die_info);
+ func_basenames.Insert (ConstString(name), die_info);
}
if (mangled.GetMangledName())
- full_name_to_function_die.Insert (mangled.GetMangledName(), die_info);
+ func_fullnames.Insert (mangled.GetMangledName(), die_info);
if (mangled.GetDemangledName())
- full_name_to_function_die.Insert (mangled.GetDemangledName(), die_info);
+ func_fullnames.Insert (mangled.GetDemangledName(), die_info);
}
break;
@@ -858,11 +858,11 @@
if (has_address)
{
if (name)
- base_name_to_function_die.Insert (ConstString(name), die_info);
+ func_basenames.Insert (ConstString(name), die_info);
if (mangled.GetMangledName())
- full_name_to_function_die.Insert (mangled.GetMangledName(), die_info);
+ func_fullnames.Insert (mangled.GetMangledName(), die_info);
if (mangled.GetDemangledName())
- full_name_to_function_die.Insert (mangled.GetDemangledName(), die_info);
+ func_fullnames.Insert (mangled.GetDemangledName(), die_info);
}
break;
@@ -877,19 +877,19 @@
case DW_TAG_typedef:
if (name && is_declaration == false)
{
- name_to_type_die.Insert (ConstString(name), die_info);
+ types.Insert (ConstString(name), die_info);
}
break;
case DW_TAG_namespace:
if (name)
- name_to_namespace_die.Insert (ConstString(name), die_info);
+ namespaces.Insert (ConstString(name), die_info);
break;
case DW_TAG_variable:
if (name && has_location && is_global_or_static_variable)
{
- name_to_global_die.Insert (ConstString(name), die_info);
+ globals.Insert (ConstString(name), die_info);
}
break;
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h?rev=116562&r1=116561&r2=116562&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h Thu Oct 14 21:45:05 2010
@@ -134,14 +134,14 @@
//
void
Index (const uint32_t cu_idx,
- NameToDIE& base_name_to_function_die,
- NameToDIE& full_name_to_function_die,
- NameToDIE& method_name_to_function_die,
- NameToDIE& selector_name_to_function_die,
- NameToDIE& objc_class_selector_dies,
- NameToDIE& name_to_global_die,
- NameToDIE& name_to_type_die,
- NameToDIE& name_to_namespace_die,
+ NameToDIE& func_basenames,
+ NameToDIE& func_fullnames,
+ NameToDIE& func_methods,
+ NameToDIE& func_selectors,
+ NameToDIE& objc_class_selectors,
+ NameToDIE& globals,
+ NameToDIE& types,
+ NameToDIE& namespaces,
const DWARFDebugRanges* debug_ranges,
DWARFDebugAranges *aranges);
More information about the lldb-commits
mailing list