1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/opt-viewer
Yuanfang Chen 0403252429 [opt viewer] Python compat - decode/encode string
Summary:
Use io.open instead of codecs.open according to here
https://stackoverflow.com/questions/10971033/backporting-python-3-openencoding-utf-8-to-python-2

Add `u` prefix to string literal to make them utf-8 in python2.

Reviewers: anemet, serge-sans-paille

Reviewed by: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D73011
2020-01-29 14:49:24 -08:00
..
CMakeLists.txt [llvm] [cmake] Add install targets for missing distribution components 2019-10-02 16:06:50 +00:00
opt-diff.py
opt-stats.py
opt-viewer.py [opt viewer] Python compat - decode/encode string 2020-01-29 14:49:24 -08:00
optpmap.py
optrecord.py [opt viewer] Python compat - decode/encode string 2020-01-29 14:49:24 -08:00
style.css