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

Releases: apple/swift-compiler-rt

swift-4.2.2-RELEASE: [tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave

05 Feb 01:45
Compare
Choose a tag to compare
On macOS Mojave, the OS started using the XOR-by-a-secret-key scheme (same as glibc is alread doing) for storing the SP value in setjmp environment. We need to adjust for that to keep supporting setjmp/longjmp on latest Darwin. The patch is basically doing the same what we're already doing for glibc.

rdar://problem/43542596

Differential Revision: https://reviews.llvm.org/D51064



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@340350 91177308-0d34-0410-b5e6-96231b3b80d8

Swift 4.2.1 Release

10 Nov 17:27
Compare
Choose a tag to compare
[tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave

On macOS Mojave, the OS started using the XOR-by-a-secret-key scheme (same as glibc is alread doing) for storing the SP value in setjmp environment. We need to adjust for that to keep supporting setjmp/longjmp on latest Darwin. The patch is basically doing the same what we're already doing for glibc.

rdar://problem/43542596

Differential Revision: https://reviews.llvm.org/D51064



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@340350 91177308-0d34-0410-b5e6-96231b3b80d8

Swift 4.2 Release

26 Sep 22:51
Compare
Choose a tag to compare
Remove `tsan/Darwin/gcd-after-null.mm` test.

Summary:
This test invokes undocumented behaviour that could change in
the future. Given this, it's probably best to just remove the
test.

rdar://problem/42022283

Reviewers: kubamracek

Subscribers: llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D49269

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336977 91177308-0d34-0410-b5e6-96231b3b80d8

swift-3.0-PREVIEW-1

13 Jun 22:10
Compare
Choose a tag to compare
[tsan] On OS X, optimize main thread’s ThreadState accesses

This is a very simple optimization that gets about 10% speedup for certain programs. We’re currently storing the pointer to the main thread’s ThreadState, but we can store the state directly in a static variable, which avoid the load acquire.

Differential Revision: http://reviews.llvm.org/D20910



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271906 91177308-0d34-0410-b5e6-96231b3b80d8