[compiler-rt] r249051 - [asan] Tweak gen_dynamic_list.py to work with both Py2 and Py3.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 11:27:29 PDT 2015


Author: eugenis
Date: Thu Oct  1 13:27:28 2015
New Revision: 249051

URL: http://llvm.org/viewvc/llvm-project?rev=249051&view=rev
Log:
[asan] Tweak gen_dynamic_list.py to work with both Py2 and Py3.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/scripts/gen_dynamic_list.py

Modified: compiler-rt/trunk/lib/sanitizer_common/scripts/gen_dynamic_list.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/scripts/gen_dynamic_list.py?rev=249051&r1=249050&r2=249051&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/scripts/gen_dynamic_list.py (original)
+++ compiler-rt/trunk/lib/sanitizer_common/scripts/gen_dynamic_list.py Thu Oct  1 13:27:28 2015
@@ -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('  *;')




More information about the llvm-commits mailing list