- Dec 15, 2010
-
-
Jason Molenda authored
also get marked as having failed (so we don't try to demangle the same symbol multiple times). llvm-svn: 121835
-
Jason Molenda authored
a non-mangled function - we pass the non mangled string down through abi::__cxa_demangle and it crashes. Usually passing non mangled strings to abi::__cxa_demangle works out fine but not always, apparently. llvm-svn: 121834
-
- Nov 14, 2010
-
-
Greg Clayton authored
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 ®ex); 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
-
- Sep 15, 2010
-
-
Jim Ingham authored
llvm-svn: 113908
-
Greg Clayton authored
Fixed a case where Mangled::GetName(...) could return a invalid demangled name when one could be calculated. llvm-svn: 113900
-
Greg Clayton authored
llvm-svn: 113899
-
Jim Ingham authored
Added the ability to specify a preference for mangled or demangled to Mangled::GetName. Changed one place where mangled was prefered in GetName. The Dynamic loader should look up the target of a stub by mangled name if it exists. llvm-svn: 113869
-
- Sep 04, 2010
-
-
Greg Clayton authored
llvm-svn: 113032
-
- Jul 02, 2010
-
-
Greg Clayton authored
removing it didn't cause any performance loss, and leaks were showing up when run under instruments when we tried to re-use the buffer. We are now leak free and still just as performant. llvm-svn: 107453
-
- Jun 22, 2010
-
-
Benjamin Kramer authored
the demangled name. Fall back to strlen. llvm-svn: 106579
-
Benjamin Kramer authored
I'm not sure when multiple threads enter this method but a race-condition causing a crash in malloc can be reproduced with this little script: echo file $(which lldb) > cmd echo "run\nbreak set -n main\nrun\nexit" >> cmd lldb -s cmd It may need a few runs before it crashes though. llvm-svn: 106544
-
- Jun 09, 2010
-
-
Eli Friedman authored
llvm-svn: 105712
-
- Jun 08, 2010
-
-
Chris Lattner authored
llvm-svn: 105619
-