[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).
parent
7581f138
Please register or sign in to comment