aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2023-09-13 20:28:28 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2023-09-13 20:33:47 -0700
commit019c8396c9addea04cb31616a1686e3fa67f16b7 (patch)
tree17080f762250bcf59d64d6d6e3a54ffbdd544fb7 /clang/lib/Frontend/CompilerInvocation.cpp
parent45c160510f6c2e7c64dbbbc29ff579b2caaff2db (diff)
downloadllvm-019c8396c9addea04cb31616a1686e3fa67f16b7.zip
llvm-019c8396c9addea04cb31616a1686e3fa67f16b7.tar.gz
llvm-019c8396c9addea04cb31616a1686e3fa67f16b7.tar.bz2
[lldb] Fix PExpectTest when using utf-8 as the encoding
PExpect 4.6, when using 'utf-8' throws a TypeError when trying to write to the log file: File "llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py", line 126, in _log self.logfile.write(s) TypeError: a bytes-like object is required, not 'str' This looks like a bug in PExpect to me. Since the log file is only used for tracing, work around the issue by disabling the log file when specifying an encoding. This should fix the Debian bot [1] which runs the test with tracing enabled (-t). [1] https://lab.llvm.org/buildbot/#/builders/68/builds/59955
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions