Commit Graph

5 Commits

Author SHA1 Message Date
Mike Ash
17c32f4997 [Test] Reenable custom_rr_abi.swift.
CI has updated macOS and we should no longer have the issue of dyld stubs using our nonstandard argument registers.

rdar://102912772
2023-05-11 17:30:55 -04:00
Evan Wilde
d01760a4df Disable custom_rr_abi.swift
Failing in Swift Incremental RA - macOS - Apple Silicon

https://ci.swift.org/job/oss-swift-incremental-RA-macos-apple-silicon/2266/

```
[ RUN      ] CustomRRABI.retain
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[     FAIL ] CustomRRABI.retain
CustomRRABI: Some tests failed, aborting
UXPASS: []
FAIL: ["retain"]
SKIP: []
To debug, run:
$ /Users/ec2-user/jenkins/workspace/oss-swift-incremental-RA-macos-apple-silicon/build/buildbot_incremental/swift-macosx-arm64/test-macosx-arm64/Runtime/Output/custom_rr_abi.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "retain"
```

rdar://102912772
2022-12-02 11:47:36 -08:00
Mike Ash
fefe33fd7d [Runtime] Add missing bridgeObjectRR_xN entrypoints.
We're supposed to expose bridgeObjectRetain/Release_xN variants, but they were missing. This fixes the custom_rr_abi.swift test. Also remove the redundant extern "C" on the entrypoint definitions, which fixes some warnings.

rdar://102793667 rdar://102783074
2022-11-30 10:50:14 -05:00
Mike Ash
58a519a5c1 [Test] Disable custom_rr_abi test until we can fix it. (#62304) 2022-11-29 14:07:37 -08:00
Mike Ash
b677b5676a [Runtime] Add register-specific entrypoints for retain/release calls on ARM64.
This will allow emitted code to condense a sequence like:

    mov x0, x21
    bl swift_retain

To:

    bl swift_retain_x21

Saving code size.

rdar://98884198
2022-11-15 09:53:49 -05:00