gtest uses clone for death tests and it needs the same
handling as fork to prevent deadlock (take runtime mutexes
before and release them after).
Details
Details
- Reviewers
vitalybuka melver - Commits
- rG82de586d4bd7: tsan: intercept clone
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp | ||
---|---|---|
2217 | minor: Not sure which style is being followed, but if Google-style, then this should just be 'struct Arg'. I don't see the _t suffix used consistently elsewhere. |
Comment Actions
This breaks building on mac (and probably on non-linux in general): http://45.33.8.238/mac/38681/step_4.txt
Please take a look.
Comment Actions
Hi Nico,
I've just looking at the greendragon email. I've mailed https://reviews.llvm.org/D113693
Thanks for notifying.
minor: Not sure which style is being followed, but if Google-style, then this should just be 'struct Arg'. I don't see the _t suffix used consistently elsewhere.