Ignore unicode decode errors in test suite's encoded_file class
authorPavel Labath <pavel@labath.sk>
Sat, 1 Sep 2018 12:15:46 +0000 (12:15 +0000)
committerPavel Labath <pavel@labath.sk>
Sat, 1 Sep 2018 12:15:46 +0000 (12:15 +0000)
commit89d2245a2ac5d6690166d0752da49d011fff9a7d
tree09c22d164aab30e58b4b26fdd9b06e645f4fde69
parent399943bc76bf9768728f79e289468fc2ba5652e9
Ignore unicode decode errors in test suite's encoded_file class

These happen in a couple of tests when lldb tries to pretty print a
const char * variable in the inferior which points to garbage. Instead,
we have the python replace the invalid sequences with the unicode
replacement character.

llvm-svn: 341274
lldb/packages/Python/lldbsuite/support/encoded_file.py