aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2020-03-04 17:08:17 +0000
committerJeremy Morse <jeremy.morse@sony.com>2020-03-04 17:12:48 +0000
commitd4f9675b5509e26573058318682a9ed5d7aaf320 (patch)
treea70a14e2e7ccc5047fde4f9a467f8e6d909c17f3 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent06de4264260d24761e3d1e6ab815db0370b1d314 (diff)
downloadllvm-d4f9675b5509e26573058318682a9ed5d7aaf320.zip
llvm-d4f9675b5509e26573058318682a9ed5d7aaf320.tar.gz
llvm-d4f9675b5509e26573058318682a9ed5d7aaf320.tar.bz2
[analyzer] decode() a bytes object to make Python3 happy
The output of subprocess.check_output is decode()'d through the rest of this python program, but one appears to have been missed for the output of the call to "clang -print-file-name=include". On Windows, with Python 3.6, this leads to the 'args' array being a mix of bytes and strings, which causes exceptions later down the line. I can't easily test with python2 on Windows, but python2 on Ubuntu 18.04 was happy with this change.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions