commit | f23db13d0351b6f90fc22c690fe07948a6cb5f2a | [log] [tgz] |
---|---|---|
author | Alexander Richardson <arichardson.kde@gmail.com> | Tue Aug 27 07:27:41 2019 +0000 |
committer | Alexander Richardson <arichardson.kde@gmail.com> | Tue Aug 27 07:27:41 2019 +0000 |
tree | b8dcc19d609407294dd88ba569f99c240ffdea74 | |
parent | 0e6b6a3c863ae159b4c39b8f55fd3535f15efea2 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@370025 91177308-0d34-0410-b5e6-96231b3b80d8