[clang] [llvm] [PAC] Fix address discrimination for type info vtable pointers (PR #102199)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 22:25:49 PDT 2024
kovdan01 wrote:
@efriedma-quic I've switched to `replaceInitializer`, thanks for suggestion! Now we construct `GV` with `nullptr` as initializer and `llvm::ConstantStruct::getTypeForElements(Fields)` as type, and then replace the initializer with `llvm::ConstantStruct::getAnon(Fields)`. See 55fc2c822f8f543d335e443a13860ae72fb5ce6d
https://github.com/llvm/llvm-project/pull/102199
More information about the llvm-commits
mailing list