[clang] [clang][DebugInfo] Rename _vtable$ to __clang_vtable$ (PR #183617)

Shivam Kunwar via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 26 20:52:42 PST 2026


================
@@ -2821,7 +2815,7 @@ void CGDebugInfo::emitVTableSymbol(llvm::GlobalVariable *VTable,
     return;
 
   ASTContext &Context = CGM.getContext();
-  StringRef SymbolName = "_vtable$";
+  StringRef SymbolName = "__clang_vtable$";
----------------
phyBrackets wrote:

Should we extract this into a named constant? 



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


More information about the cfe-commits mailing list