commit | 2fcf412d77ef17500c8d0dde82f0ac775f1261e7 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Wed Dec 14 20:40:27 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Wed Dec 14 20:40:27 2011 +0000 |
tree | cc06400d7cf3ab7c1ebec55b63f441f54eec9794 | |
parent | 84985174d8b0fe4913caf446f7789f1531317650 [diff] |
http://llvm.org/bugs/show_bug.cgi?id=11569 LLDBSwigPythonCallCommand crashes when a command script returns an object Add more robustness to LLDBSwigPythonCallCommand. It should check whether the returned Python object is a string, and only assign it as the error msg when the check holds. Also add a regression test. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146584 91177308-0d34-0410-b5e6-96231b3b80d8