HomePhabricator

[asan_symbolize] Fix broken pipe handling for python 2.7

Authored by arichardson on Aug 27 2019, 12:27 AM.

Description

[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

Details

Committed
arichardsonAug 27 2019, 12:27 AM
Parents
rG09fcec7c0aff: NFC: clang-format r370008 to suppress lint errors
Branches
Unknown
Tags
Unknown