Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

[TSan] Ensure libc++ can be built for TSan tests on Linux #40

Merged
merged 1 commit into from
May 16, 2019

Conversation

yln
Copy link
Contributor

@yln yln commented May 15, 2019

Required change to make "Swift CI preset for LLVM libdispatch tests" [1]
work.

This goes the opposite direction of [2, 3], ensuring that the link step
succeeds for the produced dynamic library (*.so). In the future versions
of compiler-rt this will not be necessary since we will create a static
archive instead.

[1] swiftlang/swift#24330
[2] https://reviews.llvm.org/D58013
[3] https://reviews.llvm.org/rG0a9cb239a6c91a709a98c96bbf60b6c006d5a07b

rdar://problem/50828689

@yln yln force-pushed the PR-test-linux-tsan-libcxx-link-libdispatch branch 3 times, most recently from caeb469 to 0be5677 Compare May 15, 2019 22:19
@yln yln requested review from kubamracek and devincoughlin May 15, 2019 22:20
@yln yln self-assigned this May 15, 2019
@yln yln changed the title [TSan] Ensure libc++ can be linked when built with TSan [TSan] Ensure libc++ can be built for TSan tests on Linux May 15, 2019
Required change to make "Swift CI preset for LLVM libdispatch tests" [1]
work.

This goes the opposite direction of [2, 3], ensuring that the link step
succeeds for the produced dynamic library (*.so). In the future versions
of compiler-rt this will not be necessary since we will create a static
archive instead.

[1] swiftlang/swift#24330
[2] https://reviews.llvm.org/D58013
[3] https://reviews.llvm.org/rG0a9cb239a6c91a709a98c96bbf60b6c006d5a07b

rdar://problem/50828689
@yln yln force-pushed the PR-test-linux-tsan-libcxx-link-libdispatch branch from 0be5677 to 32b08ca Compare May 15, 2019 22:48
@yln
Copy link
Contributor Author

yln commented May 15, 2019

Updated REQUIRES: disabled -> XFAIL: linux

@yln
Copy link
Contributor Author

yln commented May 16, 2019

Landing now. Reviewed by Devin and Kuba. CCC approved by Ted.

@yln yln merged commit 83b7b5c into swift-5.1-branch May 16, 2019
@yln yln deleted the PR-test-linux-tsan-libcxx-link-libdispatch branch May 16, 2019 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant