[Sanitizers] Fix lint failure with Python 3.6
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 31 Jul 2020 11:19:47 +0000 (06:19 -0500)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 31 Jul 2020 11:20:49 +0000 (06:20 -0500)
commitacb3b8dce1cd7ed25a137c718678449dd2d77f79
tree3202625aff64b6c3a2232e65bc0627bf586067b1
parenteef1bfb2d219191cee16ee24efbf2d204488696c
[Sanitizers] Fix lint failure with Python 3.6

There are some files in compiler-rt that use UTF-8 characters in some of the
comments. This causes lint failures with some versions of Python. This patch
just makes the encoding explicit in the call to open.
compiler-rt/lib/sanitizer_common/scripts/litlint.py