llvm-c166/lldb/source/Plugins
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
..
ABI Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
Disassembler/llvm Fixed a bug where the LLVM disassembler was 2010-11-10 01:38:28 +00:00
DynamicLoader/MacOSX-DYLD Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
LanguageRuntime Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
ObjectContainer Add UserSettings to Target class, making Target settings 2010-09-20 20:44:43 +00:00
ObjectFile Updated the lldb_private::Flags class to have better method names and made 2010-10-27 03:32:59 +00:00
Process I'm not thrilled with how I structured this but RegisterContextLLDB 2010-11-12 05:23:10 +00:00
SymbolFile Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00
SymbolVendor/MacOSX Change over to using the definitions for mach-o types and defines to the 2010-07-21 22:12:05 +00:00
Makefile Fix makefiles to build properly on Darwin. 2010-07-24 04:10:59 +00:00