[all-commits] [llvm/llvm-project] f4476b: [lit] Prevent hang when lit sees non-ASCII characters

RichBarton-Arm via All-commits all-commits at lists.llvm.org
Tue Jul 14 10:41:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4476b72fb13c5276434b4a276b7730e30724121
      https://github.com/llvm/llvm-project/commit/f4476b72fb13c5276434b4a276b7730e30724121
  Author: Richard Barton <richard.barton at arm.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M llvm/utils/lit/lit/display.py
    M llvm/utils/lit/tests/shtest-shell.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list