@@ -247,7 +247,7 @@ llvm_get_function(LLVMJitContext *context, const char *funcname)
247247
248248 /*
249249 * If there is a pending / not emitted module, compile and emit now.
250- * Otherwise we migh not find the [correct] function.
250+ * Otherwise we might not find the [correct] function.
251251 */
252252 if (!context -> compiled )
253253 {
@@ -266,7 +266,7 @@ llvm_get_function(LLVMJitContext *context, const char *funcname)
266266
267267 addr = 0 ;
268268 if (LLVMOrcGetSymbolAddressIn (handle -> stack , & addr , handle -> orc_handle , funcname ))
269- elog (ERROR , "failed to lookup symbol \"%s\"" , funcname );
269+ elog (ERROR , "failed to look up symbol \"%s\"" , funcname );
270270 if (addr )
271271 return (void * ) (uintptr_t ) addr ;
272272 }
@@ -280,11 +280,11 @@ llvm_get_function(LLVMJitContext *context, const char *funcname)
280280 return (void * ) (uintptr_t ) addr ;
281281#else
282282 if (LLVMOrcGetSymbolAddress (llvm_opt0_orc , & addr , funcname ))
283- elog (ERROR , "failed to lookup symbol \"%s\"" , funcname );
283+ elog (ERROR , "failed to look up symbol \"%s\"" , funcname );
284284 if (addr )
285285 return (void * ) (uintptr_t ) addr ;
286286 if (LLVMOrcGetSymbolAddress (llvm_opt3_orc , & addr , funcname ))
287- elog (ERROR , "failed to lookup symbol \"%s\"" , funcname );
287+ elog (ERROR , "failed to look up symbol \"%s\"" , funcname );
288288 if (addr )
289289 return (void * ) (uintptr_t ) addr ;
290290#endif /* LLVM_VERSION_MAJOR */
@@ -540,7 +540,7 @@ llvm_compile_module(LLVMJitContext *context)
540540 if (LLVMOrcAddEagerlyCompiledIR (compile_orc , & orc_handle , smod ,
541541 llvm_resolve_symbol , NULL ))
542542 {
543- elog (ERROR , "failed to jit module" );
543+ elog (ERROR , "failed to JIT module" );
544544 }
545545 LLVMOrcDisposeSharedModuleRef (smod );
546546 }
@@ -847,7 +847,7 @@ llvm_resolve_symbol(const char *symname, void *ctx)
847847 char * modname ;
848848
849849 /*
850- * OSX prefixes all object level symbols with an underscore. But neither
850+ * macOS prefixes all object level symbols with an underscore. But neither
851851 * dlsym() nor PG's inliner expect that. So undo.
852852 */
853853#if defined(__darwin__ )
0 commit comments