[compiler-rt] [compiler-rt][ubsan][nfc-ish] Fix a type conversion bug (PR #100665)
Anton Korobeynikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 16:10:57 PDT 2024
================
@@ -207,7 +207,8 @@ struct VtablePrefix {
std::type_info *TypeInfo;
};
VtablePrefix *getVtablePrefix(void *Vtable) {
- Vtable = ptrauth_strip(Vtable, ptrauth_key_cxx_vtable_pointer);
+ Vtable = reinterpret_cast<void *>(
----------------
asl wrote:
@alanzhao1 I think with typeof it should be redundant as return value would have `void*` type. But please double check, I do not have pac-ret enabled compiler-rt right now in buildable state...
https://github.com/llvm/llvm-project/pull/100665
More information about the llvm-commits
mailing list