mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
for recursive classes. This is achieved by treating types created with DebugTypeInfo::createFrowardDecl() as unconditional forward declarations when emitting debug info instead of applying a heuristic to determine this. rdar://146688269
5 lines
245 B
Swift
5 lines
245 B
Swift
// RUN: %target-swift-frontend -parse-stdlib %s -emit-ir -g -o - | %FileCheck %s
|
|
// CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "BridgeObject", {{.*}}baseType: ![[BT:[0-9]+]]
|
|
// CHECK: ![[BT]] = {{.*}}"$sBbD"
|
|
var bo : Builtin.BridgeObject
|