[ORC][examples] Fix off-by-one error when handling null terminators.
LLVMCreateMemoryBufferWithMemoryRange checks for a null terminator after the given range, so we need to pass the length of the module string (excluding the null terminator).
Loading
Please sign in to comment