diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-08 13:19:19 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-08 13:19:19 +0100 |
| commit | 6421152104db71cd70180cd2be8b63206a5e61fb (patch) | |
| tree | 536181896f5701fc1d0a24e1da56bffc553032b0 /src | |
| parent | 1e989f5c10e960cd2826b7d8f6abf84d1b0ab564 (diff) | |
Fix show-timings header for -lld on windows
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index b0fd9359f..bde9f3f7c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -178,7 +178,11 @@ i32 linker_stage(lbGenerator *gen) { build_context.keep_object_files = true; } else { #if defined(GB_SYSTEM_WINDOWS) - timings_start_section(timings, str_lit("msvc-link")); + String section_name = str_lit("msvc-link"); + if (build_context.use_lld) { + section_name = str_lit("lld-link"); + } + timings_start_section(timings, section_name); gbString lib_str = gb_string_make(heap_allocator(), ""); defer (gb_string_free(lib_str)); |