Thanks to Some programmer dude that suggested to check IR of my test C program. I should always to that in future. So the problem solution is:
There was another setjmp function that takes 2 parameters i32 @_setjmp(ptr, ptr)
. The first one is still JmpBuf but the second one is result of ptr @llvm.frameaddress.p0(i32 immarg)
call. Everything works as expected now, thank you so much :)