We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6900efe commit 719697dCopy full SHA for 719697d
test/embedded/arc-crash.swift renamed to test/embedded/ouroboros-bug.swift
@@ -1,3 +1,8 @@
1
+// Regression test for a "Ouroboros Bug": The ARC optimizer doesn't like the
2
+// presense of a direct call to swift_retain and swift_release in any Swift
3
+// code, but in the embedded Swift's runtime that's somewhat reasonable thing
4
+// to do (but is to be avoided because of this).
5
+
6
// RUN: %target-swift-frontend -target armv7-apple-none-macho -assert-config Debug -Osize -Xcc -D__MACH__ -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
7
// RUN: %target-swift-frontend -target arm64-apple-none-macho -assert-config Debug -Osize -Xcc -D__MACH__ -Xcc -D__arm64__ -Xcc -D__APPLE__ -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
8
0 commit comments