llvm-project/llvm/tools/opt-viewer
Yuanfang Chen 43d9f2d1e8 [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 [opt-viewer] Add --filter option to select remarks for displaying. 2019-02-06 18:43:37 +00:00
optrecord.py [opt viewer] Python compat - decode/encode string 2020-01-29 14:49:24 -08:00
style.css [opt-viewer] Add javascript to expand/hide full message for multiline remarks. 2019-01-25 17:48:31 +00:00