summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-10-10 17:39:41 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-10-10 17:39:41 +0000
commit19e6bb25f05fa24ea445dd455c7f44fc3b036725 (patch)
tree25be78f2d0df70fccaff0effd501c06d108b710c /lldb/packages/Python/lldbsuite/test/python_api
parentdf35ec8289eec85e9a551578b1b7ae35b214860f (diff)
downloadbcm5719-llvm-19e6bb25f05fa24ea445dd455c7f44fc3b036725.tar.gz
bcm5719-llvm-19e6bb25f05fa24ea445dd455c7f44fc3b036725.zip
[lit] Clean up internal diff's encoding handling
As suggested by rnk at D67643#1673043, instead of reading files multiple times until an appropriate encoding is found, read them once as binary, and then try to decode what was read. For python >= 3.5, don't fail when attempting to decode the `diff_bytes` output in order to print it. Finally, add some tests for encoding handling. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D68664 llvm-svn: 374389
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud