[llvm-branch-commits] [clang] [clang][DebugInfo] Disable VTable debug info (#130255) on COFF platforms (PR #150938)
Tomohiro Kashiwada via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 29 05:50:51 PDT 2025
================
@@ -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")
----------------
kikairoya wrote:
To be honest, I'm not quite sure why this change happens, as this diff is basically just a revert.
But your assumption sounds reasonable to me.
As you said, vtable-debug-info-inheritance-simple.cpp asserts that MinGW doesn't emit the debug info.
https://github.com/llvm/llvm-project/pull/150938
More information about the llvm-branch-commits
mailing list