llvm-c166/lldb/source/Symbol
Greg Clayton 83c5cd9dfd Just like functions can have a basename and a mangled/demangled name, variable
can too. So now the lldb_private::Variable class has support for this.

Variables now have support for having a basename ("i"), and a mangled name 
("_ZN12_GLOBAL__N_11iE"), and a demangled name ("(anonymous namespace)::i").

Nowwhen searching for a variable by name, users might enter the fully qualified
name, or just the basename. So new test functions were added to the Variable 
and Mangled classes as:

	bool NameMatches (const ConstString &name);
	bool NameMatches (const RegularExpression &regex);

I also modified "ClangExpressionDeclMap::FindVariableInScope" to also search
for global variables that are not in the current file scope by first starting
with the current module, then moving on to all modules.

Fixed an issue in the DWARF parser that could cause a varaible to get parsed
more than once. Now, once we have parsed a VariableSP for a DIE, we cache
the result even if a variable wasn't made so we don't do any re-parsing. Some
DW_TAG_variable DIEs don't have locations, or are missing vital info that 
stops a debugger from being able to display anything for it, we parse a NULL
variable shared pointer for these DIEs so we don't keep trying to reparse it.

llvm-svn: 119085
2010-11-14 22:13:40 +00:00
..
Block.cpp Fixed a crasher (an assert was firing in the DWARF parser) when setting 2010-11-14 00:22:48 +00:00
ClangASTContext.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
ClangASTType.cpp Fixed an issue where objc types weren't ever getting fully resolved (beyond 2010-10-11 02:25:34 +00:00
ClangNamespaceDecl.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
CompileUnit.cpp Fixed an issue where we were resolving paths when we should have been. 2010-10-20 20:54:39 +00:00
Declaration.cpp Fixed a missing newline when dumping mixed disassembly. 2010-09-15 05:51:24 +00:00
DWARFCallFrameInfo.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
Function.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
FuncUnwinders.cpp I'm not thrilled with how I structured this but RegisterContextLLDB 2010-11-12 05:23:10 +00:00
LineEntry.cpp Moved the section load list up into the target so we can use the target 2010-09-14 23:36:40 +00:00
LineTable.cpp Moved the section load list up into the target so we can use the target 2010-09-14 23:36:40 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
ObjectFile.cpp Fix the infinite recursion crash reported by Antoine Missout: 2010-11-05 21:43:19 +00:00
Symbol.cpp Moved the section load list up into the target so we can use the target 2010-09-14 23:36:40 +00:00
SymbolContext.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
SymbolFile.cpp Modified lldb_private::SymboleFile to be able to override where its TypeList 2010-11-10 04:57:04 +00:00
SymbolVendor.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
Symtab.cpp Added mutex protection to the Symtab class. 2010-10-08 04:20:14 +00:00
Type.cpp Fixed an issue where we were trying to resolve lldb_private::Type encoding 2010-11-14 01:03:55 +00:00
TypeList.cpp Modified the lldb_private::TypeList to use a std::multimap for quicker lookup 2010-10-29 04:59:35 +00:00
UnwindPlan.cpp Handle the case where no eh_frame section is present. 2010-11-04 00:53:20 +00:00
UnwindTable.cpp Fix thinko in UnwindTable.cpp where it wouldn't provde a 2010-11-09 01:21:22 +00:00
Variable.cpp Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00
VariableList.cpp Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00