================
@@ -2798,7 +2792,7 @@ StringRef CGDebugInfo::getVTableName(const CXXRecordDecl 
*RD) {
 }
 
 // Emit symbol for the debugger that points to the vtable address for
-// the given class. The symbol is named as '_vtable$'.
+// the given class. The symbol is named as '__clang_vtable$'.
----------------
phyBrackets wrote:

Nit: Could we add a brief note on why the __clang_ prefix? Something like:

```
// the given class. The symbol is named as '__clang_vtable$', using a
// reserved identifier prefix so debuggers can reliably distinguish it
// from user-defined symbols.
```

https://github.com/llvm/llvm-project/pull/183617
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to