mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 15:44:04 +00:00
Experiment with different uses of -use-separate-modules
This commit is contained in:
@@ -3437,7 +3437,11 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
|
||||
TIME_SECTION("LLVM Add Foreign Library Paths");
|
||||
lb_add_foreign_library_paths(gen);
|
||||
|
||||
TIME_SECTION("LLVM Object Generation");
|
||||
gbString label_object_generation = gb_string_make(heap_allocator(), "LLVM Object Generation");
|
||||
if (gen->modules.count > 1) {
|
||||
label_object_generation = gb_string_append_fmt(label_object_generation, " (%d modules)", gen->modules.count);
|
||||
}
|
||||
TIME_SECTION_WITH_LEN(label_object_generation, gb_string_length(label_object_generation));
|
||||
|
||||
if (build_context.ignore_llvm_build) {
|
||||
gb_printf_err("LLVM object generation has been ignored!\n");
|
||||
|
||||
Reference in New Issue
Block a user