mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
On some platforms (for example, x86_64), the first call to `objc_autoreleaseReturnValue` will always autorelease because it would fail to verify the instruction sequence in the caller. On x86_64 certain PLT entries would be still pointing to the resolver function, and sniffing the call sequence would fail. This change adds a "warmup" return-autoreleased sequence to the test harness. rdar://18385128 Swift SVN r22127
14 KiB
14 KiB