diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-10-01 18:27:28 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-10-01 18:27:28 +0000 |
| commit | 74697714c2aca0ab35f6d0b86cb753253174418c (patch) | |
| tree | 7bdc92f2d7d3d987e36494da67713ffee59e2b64 /compiler-rt/lib | |
| parent | 03c48b01bfd8c4cadfb433e39f9511458227fe37 (diff) | |
| download | bcm5719-llvm-74697714c2aca0ab35f6d0b86cb753253174418c.tar.gz bcm5719-llvm-74697714c2aca0ab35f6d0b86cb753253174418c.zip | |
[asan] Tweak gen_dynamic_list.py to work with both Py2 and Py3.
llvm-svn: 249051
Diffstat (limited to 'compiler-rt/lib')
| -rwxr-xr-x | compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py b/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py index f055bb44ba2..b8b79b5994b 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py +++ b/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py @@ -100,7 +100,7 @@ def main(argv): print('global:') result.sort() for f in result: - print(' ' + f.encode('utf-8') + ';') + print(u' %s;' % f) if args.version_list: print('local:') print(' *;') |

