stdlib: add SWIFT_RUNTIME_STDLIB_INTERFACE attribute where necessary

... and remove some redundant ones.

This change fixes the RuntimeObjC.swift test.

rdar://problem/26239602
This commit is contained in:
Dmitri Gribenko
2016-05-12 13:25:50 -07:00
parent 6105438ae3
commit 09f7245dbf
6 changed files with 31 additions and 22 deletions

View File

@@ -682,11 +682,6 @@ RuntimeFoundationWrappers.test("_stdlib_NSStringUppercaseString/NoLeak") {
expectEqual(0, nsStringCanaryCount)
}
// FIXME: Temporarily commented out due to linker failure in finding
// __swift_stdlib_CFStringCreateCopy, __swift_stdlib_CFStringGetCharactersPtr,
// and __swift_stdlib_CFStringGetLength during optimized builds.
// rdar://problem/26239602
/*
RuntimeFoundationWrappers.test("_stdlib_CFStringCreateCopy/NoLeak") {
nsStringCanaryCount = 0
autoreleasepool {
@@ -716,7 +711,6 @@ RuntimeFoundationWrappers.test("_stdlib_CFStringGetCharactersPtr/NoLeak") {
}
expectEqual(0, nsStringCanaryCount)
}
*/
RuntimeFoundationWrappers.test("bridgedNSArray") {
var c = [NSObject]()