Displaying 1 result from an estimated 1 matches for "integerrvalu".
Did you mean:
integerrvalue
2011 May 31
0
[LLVMdev] Assertion failure in MC emitter running LLVM libs on Android using android-ndk
...encountering a strange assertion failure using the LLVM libraries cross-compiled for Android using the Android NDK. I am using the official release of LLVM-2.9.
The IR which is causing the assertion failure is the following:
define void @__construct_Byte__Integer(i8* nocapture %byteLValue, i32 %integerRValue) inlinehint {
entry:
%0 = trunc i32 %integerRValue to i8
store i8 %0, i8* %byteLValue
ret void
}
define void @entry() inlinehint {
entry:
%castToByte = alloca i8
call void @__construct_Byte__Integer(i8* %castToByte, i32 16)
%0 = load i8* %castToByte
ret void
}
And the assertion fai...