Fixed a hang which causes LLDB to enter an infinite
loop if "memory read" is run with the -t option and
the type name contains a keyword like "struct" that
isn't followed by a space.  Now if a keyword isn't
followed by a space we continue searching after it,
instead of at the beginning of the type name.

Also optimized the code to not call strlen() on
a fixed set of statically-declared constant strings.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160016 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed