[PATCH] D43165: [lit] Fix problem in how Python versions open files with different encodings
Aaron Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 10:37:25 PST 2018
asmith added a comment.
An alternative to this change is to try and open the file and if it fails, retry with Latin-1.
The issue is tests are generating binary data then opening it in python and encodings are different on Windows.
Ex. clang -c foo.c; open foo.obj
Repository:
rL LLVM
https://reviews.llvm.org/D43165
More information about the llvm-commits
mailing list