diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2019-08-27 07:27:41 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2019-08-27 07:27:41 +0000 |
commit | 677c6ddd33da183e1d5aeb3d13777d8bf0463a12 (patch) | |
tree | 61df7071c9c657ec7fbc2c6276b51d28ee9f6e46 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 09fcec7c0aff61dc1360c4c5e4135cf384217389 (diff) | |
download | llvm-677c6ddd33da183e1d5aeb3d13777d8bf0463a12.zip llvm-677c6ddd33da183e1d5aeb3d13777d8bf0463a12.tar.gz llvm-677c6ddd33da183e1d5aeb3d13777d8bf0463a12.tar.bz2 |
[asan_symbolize] Fix broken pipe handling for python 2.7
I D65322 I added a check for BrokenPipeError. However, python 2.7 doesn't
have BrokenPipeError. To be python 2.7 and 3 compatible we need to catch
IOError instead and check for errno == errno.EPIPE.
llvm-svn: 370025
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions