summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-07-09 10:57:54 +0000
committerPavel Labath <labath@google.com>2015-07-09 10:57:54 +0000
commit89ad594075ea32c08ac73144eac0b648c7c5a07b (patch)
tree811934a86045ce4c47731910dcfa6dee0c2bee03 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent17d4efe7c1a271ca216008fe0f6598e8f96dfe30 (diff)
downloadbcm5719-llvm-89ad594075ea32c08ac73144eac0b648c7c5a07b.tar.gz
bcm5719-llvm-89ad594075ea32c08ac73144eac0b648c7c5a07b.zip
Fix TestStopHookMultipleThreads and TestNamespace after r241751
The mentioned commit introduced a subtle change in behavior when printing variable names. This occured when we have a variable, for which we only know the demangled name, because the compiler has failed to provide one (this typically happens for variables in anonymous namespaces). A Mangled class which contains only a demangled name considers itself to be invalid (this could possibly be a bug), but it's GetName() method still returns a valid demangled name. The previous commit introduced the check for the validity of the class, and if it failed, it would fall back to printing the bare name (without the namespace prefixes, as the tests were expecting). I revert this part of the commit and check the validity of the string returned by GetName() instead. llvm-svn: 241795
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud