[clang] [llvm] [PAC] Fix address discrimination for type info vtable pointers (PR #102199)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 20 12:56:32 PDT 2024
efriedma-quic wrote:
getAddrOfCurrentPosition() is one way to do it... but it's not the only way to do it. It was specifically designed to handle cases in CGExprConstant that would have been difficult to refactor otherwise.
Here, it's simple to compute the correct address beforehand, so you can just do that.
https://github.com/llvm/llvm-project/pull/102199
More information about the cfe-commits
mailing list