Add help docs for -reloc-mode:<string>

This commit is contained in:
gingerBill
2022-02-23 11:19:51 +00:00
parent 4b9324ff76
commit 3d209798c9
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -1261,6 +1261,8 @@ void lb_generate_code(lbGenerator *gen) {
LLVMCodeModel code_mode = LLVMCodeModelDefault;
if (is_arch_wasm()) {
code_mode = LLVMCodeModelJITDefault;
} else if (build_context.metrics.os == TargetOs_freestanding) {
code_mode = LLVMCodeModelKernel;
}
char const *host_cpu_name = LLVMGetHostCPUName();