This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Add support for running TSan tests on iOS simulator and devices
ClosedPublic

Authored by kubamracek on Jul 7 2017, 3:31 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek created this revision.Jul 7 2017, 3:31 PM
kubamracek updated this revision to Diff 105747.Jul 8 2017, 2:39 PM
dvyukov accepted this revision.Jul 10 2017, 12:56 AM

LGTM with a nit

test/tsan/deep_stack1.cc
27 ↗(On Diff #105747)

A function please.
A proper macro would need to put all args into () and use expression blocks and create local copies of args to avoid double evaluation. A function working on size_t will be much simpler.

This revision is now accepted and ready to land.Jul 10 2017, 12:56 AM
This revision was automatically updated to reflect the committed changes.
kubamracek added inline comments.Jul 10 2017, 8:21 AM
compiler-rt/trunk/lib/lsan/lsan_common.cc
79

Accidentally committed this, reverting in r307539.