HomePhabricator

[lit] Prevent hang when lit sees non-ASCII characters

Authored by richard.barton.arm on Jul 14 2020, 10:41 AM.

Description

[lit] Prevent hang when lit sees non-ASCII characters

As per discussion in D69207, have lit ignore UnicodeDecodeErrors
when running with python 2 in an ASCII shell.

Differential Revision: https://reviews.llvm.org/D82754

Details