[lld] [lld] Remove const qualifier on symbolKind (NFC) (PR #94753)

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 09:38:16 PDT 2024


rnk wrote:

This seems fine, but some of the subclasses still have vtables, so we're still effectively doing some kind of placement new operation here without updating the other existing Symbol references, and I think that is technically UB without more laundering operations.

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


More information about the llvm-commits mailing list