[llvm-branch-commits] [clang] [clang][DebugInfo] Disable VTable debug info (#130255) on COFF platforms (PR #150938)

Martin Storsjö via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 28 06:37:51 PDT 2025


https://github.com/mstorsjo approved this pull request.

LGTM, thanks - this looks reasonable to me, but I'd prefer to have an explicit ack from @jmorse still before merging.

Minor nit, we could adjust the commit message (PR description), saying "even if that may be dllimported", instead of "is dllimported". If it has an explicit dllimport, iirc this issue doesn't hit at all - it's the "maybe dllimported" case which is problematic here.

Longer term, as mentioned in #149639, we could consider just emitting this debug info in the object files that actually define the vtable, which could allow removing this restriction (to produce such debug info on COFF targets too).

https://github.com/llvm/llvm-project/pull/150938


More information about the llvm-branch-commits mailing list