Displaying 2 results from an estimated 2 matches for "addanont".
Did you mean:
addagent
2012 Jul 04
2
[LLVMdev] Bogus assert in VMCore/Instructions.cpp CallInst::Create?
...CallInst::Create(annot, v, "", block);
return;
}
When I try and create the CallInst, an assert in
VMCore/Instructions.cpp fails, saying that the type of second
parameter of the function signature (i8*) does not match the type of
the first argument (which is also i8*).
I can, in the addAnontation function, call dump() on both the second
parameter of the llvm.annotate function and the second element of the
'v' array, and they are indeed both i8*. I wasn't able to find an
operator== method for Type, and it seems that the pointer values are
different between the value populate...
2012 Jul 04
0
[LLVMdev] Bogus assert in VMCore/Instructions.cpp CallInst::Create?
...>
> return;
> }
>
> When I try and create the CallInst, an assert in
> VMCore/Instructions.cpp fails, saying that the type of second
> parameter of the function signature (i8*) does not match the type of
> the first argument (which is also i8*).
>
> I can, in the addAnontation function, call dump() on both the second
> parameter of the llvm.annotate function and the second element of the
> 'v' array, and they are indeed both i8*. I wasn't able to find an
> operator== method for Type, and it seems that the pointer values are
> different betwee...