commit | 175599be65a5c08551bbe0359a7ca1aadb23ec8b | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Fri Oct 25 09:45:44 2013 +0000 |
committer | Dmitry Vyukov <dvyukov@google.com> | Fri Oct 25 09:45:44 2013 +0000 |
tree | e5c8ae18a55224a50ffc34163d37116184986d00 | |
parent | aff25aa02098a510eff6eda1a3ec823e5b1fe1aa [diff] |
tsan: do not crash when apparently bogus fd is passed to e.g. close some tests test libc/filesystem error handling paths (e.g. close(INT_MAX)), currently such tests fail with this change they work as expected git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193400 91177308-0d34-0410-b5e6-96231b3b80d8