[PATCH] D103835: [CUDA][HIP] Fix store of vtbl in ctor
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 14 20:20:54 PDT 2021
rjmccall added a comment.
Hmm. I think "v-tables are in the address space of the object pointer" is not a good assumption. Probably this ought to be determined by the C++ ABI for the target. In principle it could even be class-specific, but I think we can start by assuming it's universal.
It should be decided by the AST-level ABI abstraction so that it properly affects record layout, since different address spaces can have different pointer sizes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103835/new/
https://reviews.llvm.org/D103835
More information about the cfe-commits
mailing list