[PATCH] D65322: [asan_symbolize] Avoid blocking when llvm-symbolizer is installed as addr2line
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 19:04:09 PDT 2019
vitalybuka added inline comments.
================
Comment at: compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py:202
lines.append((function_name, file_name));
- except Exception:
+ except BrokenPipeError:
+ logging.debug("got broken pipe, addr2line returncode=%d" % self.pipe.poll())
----------------
Probably
```
except socket.error as e:
if e.errno == errno.EPIPE:
```
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65322/new/
https://reviews.llvm.org/D65322
More information about the llvm-commits
mailing list