Escape new line and tabs in the result of variable evaluation.
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>
Fri, 31 Jul 2015 09:24:39 +0000 (09:24 +0000)
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>
Fri, 31 Jul 2015 09:24:39 +0000 (09:24 +0000)
commit311d08f8de5864a5f918adb5e36b4f80a062e51b
treee9105ec7e62df96004a131a8e57e1838491c4348
parent923906a600471145629470dbaa43bb55bc682eb7
Escape new line and tabs in the result of variable evaluation.

Expression evaluation error messages may have embedded new lines
and tabs. These should be escaped in the result string.

Patch by paulmaybee. Reviewed in http://reviews.llvm.org/D11570.

llvm-svn: 243741
lldb/test/tools/lldb-mi/variable/TestMiVar.py
lldb/tools/lldb-mi/MICmdCmdVar.cpp