summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorAndrew Ng <anng.sw@gmail.com>2018-07-12 14:40:21 +0000
committerAndrew Ng <anng.sw@gmail.com>2018-07-12 14:40:21 +0000
commitac305e18a48d768831b972b088d01dc032962525 (patch)
tree60eb9d02e9781609b88bd068c78c92fe4ce78fc2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parent8b2ab91a5d034fff1f80aa0e32142fafcbd90734 (diff)
downloadbcm5719-llvm-ac305e18a48d768831b972b088d01dc032962525.tar.gz
bcm5719-llvm-ac305e18a48d768831b972b088d01dc032962525.zip
[ThinLTO] Escape module paths when printing
We have located a bug in AssemblyWriter::printModuleSummaryIndex(). This function outputs path strings incorrectly. Backslashes in the strings are not correctly escaped. Consequently, if a path name contains a backslash followed by two hexadecimal characters, the sequence is incorrectly interpreted when the output is read by another component. This mangles the path and results in error. This patch fixes this issue by calling printEscapedString() to output the module paths. Patch by Chris Jackson. Differential Revision: https://reviews.llvm.org/D49090 llvm-svn: 336908
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud