Remove the dependency on Foundation so we can start running those tests
on other platforms. Rename/move of tests will be done in a separate
commit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30197 Build 30196: arc lint + arc unit
Event Timeline
Comment Actions
General point: Should we actually be using the TSan-invisible barrier for this purpose? Maybe a "normal" primitive, like a dispatch semaphore would make this more clear that we're just trying to tell the main thread that we're done.
compiler-rt/test/tsan/Darwin/gcd-after.mm | ||
---|---|---|
3 | Please make this change separately. |
Comment Actions
Use dispatch_semaphore wrapped in helper functions to better express intent
in tests.
Comment Actions
Can you please embed all the functions into the tests themselves and drop the header file?
compiler-rt/test/tsan/Darwin/gcd-after.mm | ||
---|---|---|
29 | This rewrite is changing the behavior. We should have two separate waits. |
Comment Actions
@dvyukov
Do you have any comments/preferences of porting the libdispatch tests to Linux, Dmitry?
Please make this change separately.