| ... | @@ -8655,6 +8655,8 @@ static Error define_builtin_compile_vars(CodeGen *g) { | ... | @@ -8655,6 +8655,8 @@ static Error define_builtin_compile_vars(CodeGen *g) { |
| 8655 | cache_bool(&cache_hash, g->valgrind_support); | 8655 | cache_bool(&cache_hash, g->valgrind_support); |
| 8656 | cache_bool(&cache_hash, g->link_eh_frame_hdr); | 8656 | cache_bool(&cache_hash, g->link_eh_frame_hdr); |
| 8657 | cache_int(&cache_hash, detect_subsystem(g)); | 8657 | cache_int(&cache_hash, detect_subsystem(g)); |
| | 8658 | if (g->llvm_cpu) cache_str(&cache_hash, g->llvm_cpu); |
| | 8659 | if (g->llvm_features) cache_str(&cache_hash, g->llvm_features); |
| 8658 | | 8660 | |
| 8659 | Buf digest = BUF_INIT; | 8661 | Buf digest = BUF_INIT; |
| 8660 | buf_resize(&digest, 0); | 8662 | buf_resize(&digest, 0); |
| ... | @@ -10388,6 +10390,8 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) { | ... | @@ -10388,6 +10390,8 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) { |
| 10388 | } | 10390 | } |
| 10389 | cache_buf_opt(ch, g->dynamic_linker_path); | 10391 | cache_buf_opt(ch, g->dynamic_linker_path); |
| 10390 | cache_buf_opt(ch, g->version_script_path); | 10392 | cache_buf_opt(ch, g->version_script_path); |
| | 10393 | if (g->llvm_cpu) cache_str(ch, g->llvm_cpu); |
| | 10394 | if (g->llvm_features) cache_str(ch, g->llvm_features); |
| 10391 | | 10395 | |
| 10392 | // gen_c_objects appends objects to g->link_objects which we want to include in the hash | 10396 | // gen_c_objects appends objects to g->link_objects which we want to include in the hash |
| 10393 | gen_c_objects(g); | 10397 | gen_c_objects(g); |