llvm-c166/lldb
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
..
docs Fix http://llvm.org/bugs/show_bug.cgi?id=8493 File name "2010-10-19-14:10:49.059609" is non-portable. 2010-10-28 16:24:26 +00:00
examples Add comment explaining the options used to invoke the test driver. 2010-10-25 21:38:35 +00:00
include Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00
lib Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse more 2010-09-07 20:11:56 +00:00
lldb.xcodeproj Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00
resources Bumped Xcode versions to lldb-32 and debugserver-119. 2010-11-11 02:22:58 +00:00
scripts Updated LLVM to latest version as of 10/28 at 2010-10-29 18:38:40 +00:00
source Just like functions can have a basename and a mangled/demangled name, variable 2010-11-14 22:13:40 +00:00
test Implement TODO's of using expression command to set vaiables and to verify that 2010-11-12 21:50:28 +00:00
tools Fixed more thread suspend/resume issues. 2010-11-12 02:37:39 +00:00
utils/emacs Add keyboard shortcuts: 2010-11-09 00:24:51 +00:00
www Clarified some caveats for thread format strings. 2010-10-04 03:06:05 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Comment out test targets; they don't work on Linux because test/Makefile uses 2010-07-09 22:36:15 +00:00