mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "DebugInfo: Bring back accidentally dropped DIFlagArtificial flag"
This reverts commit 5a456c5c3f.
This commit is contained in:
@@ -1946,7 +1946,7 @@ private:
|
||||
/* DWARFAddressSpace */ std::nullopt, MangledName);
|
||||
|
||||
// FIXME: Set DIFlagObjectPointer and make sure it is only set for `self`.
|
||||
return DBuilder.createArtificialType(PTy);
|
||||
return PTy;
|
||||
}
|
||||
case TypeKind::BuiltinExecutor: {
|
||||
return createDoublePointerSizedStruct(
|
||||
|
||||
@@ -13,6 +13,6 @@ public class C<T>
|
||||
}
|
||||
// CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "T",
|
||||
// CHECK-SAME: baseType: ![[PTRTY:[0-9]+]]
|
||||
// CHECK: ![[PTRTY]] = !DIDerivedType(tag: DW_TAG_pointer_type, name: "$sBpD", baseType: null, size: {{64|32}}, flags: DIFlagArtificial)
|
||||
// CHECK: ![[PTRTY]] = !DIDerivedType(tag: DW_TAG_pointer_type, name: "$sBpD", baseType: null, size: {{64|32}})
|
||||
// CHECK: ![[LOC]] = !DILocation(line: 0,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user