summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ConstString.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly set the value to NULL when adding a string map entry.Greg Clayton2011-06-101-1/+1
| | | | llvm-svn: 132823
* I modified the StringMap that was being used to unique our debugger C stringsGreg Clayton2011-06-091-8/+64
| | | | | | | | | | | | | | to have the value for the map be a "const char *" instead of an unused uint32_t. This allows us to store the uniqued mangled/demangled counterpart in this map for mangled names. This also speeds up the mangled/demangled counterpart lookup that used to be maintained in a STL map by having direct access to the data. If we eventually need to associate other strings to strings to more data, we can make the value of the StringMap have a more complex value. Added the start of a history source and history event class. It isn't being used by anything yet, but might be shortly. llvm-svn: 132813
* Made many ConstString functions inlined in the header file.Greg Clayton2010-10-151-85/+0
| | | | | | | | | | | | | | | | | | | Changed all of our synthesized "___clang" functions, types and variables that get used in expressions over to have a prefix of "$_lldb". Now when we do name lookups we can easily switch off of the first '$' character to know if we should look through only our internal (when first char is '$') stuff, or when we should look through program variables, functions and types. Converted all of the clang expression code over to using "const ConstString&" values for names instead of "const char *" since there were many places that were converting the "const char *" names into ConstString names and them throwing them away. We now avoid making a lot of ConstString conversions and benefit from the quick comparisons in a few extra spots. Converted a lot of code from LLVM coding conventions into LLDB coding conventions. llvm-svn: 116634
* Improved name demangling performance by 20% on darwin.Greg Clayton2010-09-031-9/+0
| | | | llvm-svn: 113032
* Merged Eli Friedman's linux build changes where he added Makefile files thatGreg Clayton2010-07-091-4/+1
| | | | | | | enabled LLVM make style building and made this compile LLDB on Mac OS X. We can now iterate on this to make the build work on both linux and macosx. llvm-svn: 108009
* Reduce code duplication.Benjamin Kramer2010-06-221-17/+3
| | | | | | This also moves strlen out of the mutex scope. llvm-svn: 106545
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-081-0/+480
llvm-svn: 105619
OpenPOWER on IntegriCloud