llvm-c166/lldb/source/Expression
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
..
ASTResultSynthesizer.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
ASTStructExtractor.cpp Updated to latest LLVM. Major LLVM changes: 2010-09-23 03:01:22 +00:00
ClangASTSource.cpp Got namespace lookup working and was able to print a complex "this" as an 2010-11-13 04:18:24 +00:00
ClangExpressionDeclMap.cpp Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00
ClangExpressionParser.cpp Added more logging so we see the register state 2010-11-08 03:49:50 +00:00
ClangExpressionVariable.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
ClangFunction.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
ClangPersistentVariables.cpp Made many ConstString functions inlined in the header file. 2010-10-15 22:48:33 +00:00
ClangUserExpression.cpp Trivial fix for an error message. 2010-11-10 19:02:11 +00:00
ClangUtilityFunction.cpp Cleaned a few build related things up: 2010-09-24 23:07:41 +00:00
DWARFExpression.cpp Modified the lldb_private::Type clang type resolving code to handle three 2010-11-13 03:52:47 +00:00
IRDynamicChecks.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
IRForTarget.cpp Made variable resolution more robust by handling 2010-11-08 00:31:32 +00:00
IRToDWARF.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
RecordingMemoryManager.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00