aboutsummaryrefslogtreecommitdiffstats
path: root/test/Instrumentation
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-14 18:22:41 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-14 18:22:41 +0000
commit35d5e9044c580c843eb6e825d87816619e6d7f8f (patch)
tree79149218fd7a688f6e3a740de9385d01eb4a6eb0 /test/Instrumentation
parentc97db8dfdd854430c28db74825a6bb7593b5ec05 (diff)
downloadexternal_llvm-35d5e9044c580c843eb6e825d87816619e6d7f8f.zip
external_llvm-35d5e9044c580c843eb6e825d87816619e6d7f8f.tar.gz
external_llvm-35d5e9044c580c843eb6e825d87816619e6d7f8f.tar.bz2
[lit] Support parsing scripts with inconsistent or invalid encodings.
- For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. - This patch has been tweaked to now ensure that the command strings are not of unicode type on Python 2.6-7. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation')
0 files changed, 0 insertions, 0 deletions