[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
Mon Feb 12 09:53:01 PST 2018


asmith added a comment.

Using utf-8 instead of latin-1 causes errors with some tests. Here's an example.

UNRESOLVED: Clang :: Driver/clang-offload-bundler.c (4201 of 11896)

- TEST 'Clang :: Driver/clang-offload-bundler.c' FAILED ********************

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 2: invalid start byte


Repository:
  rL LLVM

https://reviews.llvm.org/D43165





More information about the llvm-commits mailing list