================ @@ -222,3 +222,8 @@ void foo() { // CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "A", // CHECK-SAME: DIFlagFwdDecl + +// There is a full definition of the type available in the module. +// CHECKCOFF: !DICompositeType(tag: DW_TAG_structure_type, name: "Virtual", +// CHECKCOFF-SAME: DIFlagFwdDecl +// CHECKCOFF-SAME: identifier: "_ZTS7Virtual") ---------------- jmorse wrote:
If I'm reading this correctly, the DICompositeType is identical to the ELF DICompositeType earlier, but presumably it's in a different location in the output because it's no longer attached to a global variable? If that's true, then this test coverage is somewhat indirectly covering that behaviour -- but I think it's fine because the vtable-debug-info-inheritance-simple.cpp is precisely checking the behaviour. https://github.com/llvm/llvm-project/pull/150938 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits