diff options
| author | Stella Stamenova <stilis@microsoft.com> | 2018-10-12 17:56:01 +0000 |
|---|---|---|
| committer | Stella Stamenova <stilis@microsoft.com> | 2018-10-12 17:56:01 +0000 |
| commit | 073d21fad01fe2d6f3fc8257a16b9d732339bbcc (patch) | |
| tree | c771a82b708022bb50e2e113e016b6f995c4a927 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 0916efc232599da451a385fc8940a521f6d0c89f (diff) | |
[lldbsuite] Fix the filecheck functionality to work with Python 3
Summary: This is another string/byte conversion issue between Python 2 and 3. In Python 2, the subprocess communication expects a byte string, but in Python 3, it expects bytes. Since both versions are capable of using strings when universal_newlines is set to True AND filecheck operates on strings, force the use of strings.
Reviewers: zturner, asmith, vsk
Reviewed By: zturner
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D53166
llvm-svn: 344386
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
