1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +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 Revert Autogenerate the shebang lines for tools/opt-viewer 2019-08-27 18:31:29 +00:00
opt-stats.py Revert Autogenerate the shebang lines for tools/opt-viewer 2019-08-27 18:31:29 +00:00
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