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).
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).