@@ -2196,8 +2197,32 @@ llvm::ConstantInt
*CodeGenModule::CreateKCFITypeId(QualType T) {
if (getCodeGenOpts().SanitizeCfiICallNormalizeIntegers)
Out << ".normalized";
- return llvm::ConstantInt::get(Int32Ty,
-
static_cast(llvm::xxHash64(O
sirmc wrote:
I had a quick look (sorry for not getting to this earlier, was traveling around
Vietnam for a few weeks). Looks good to me. Especially the trick of encoding
the arity into the MOV32ri register seems very neat from a compatibility
standpoint.
So if I understand this correctly, the