Displaying 1 result from an estimated 1 matches for "__chkstc".
Did you mean:
__chkstk
2014 Jan 17
2
[LLVMdev] Offset overflow on calling __chkstc and __alloca
Hi,
Attempting to use LLVM in jitting mode for AMD64, we met a problem.
When the jitted routine needs a big stack frame (> 1 page), the system attempts to call __chkstk to probe the stack.
This attempt results in assertion in RuntimeDyldELF::resolveX86_64Relocation(), case ELF::R_X86_64_PC32,
because the RealOffset does not fit in 32 bits.
Same happens with __alloca (when