mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -1207,10 +1207,14 @@ void lb_generate_code(lbGenerator *gen) {
|
|||||||
|
|
||||||
LLVMBool is_optimized = build_context.optimization_level > 0;
|
LLVMBool is_optimized = build_context.optimization_level > 0;
|
||||||
AstFile *init_file = m->info->init_package->files[0];
|
AstFile *init_file = m->info->init_package->files[0];
|
||||||
Ast *ident = m->info->entry_point->identifier.load();
|
|
||||||
if (m->info->entry_point && ident && ident->file) {
|
if (Entity *entry_point = m->info->entry_point) {
|
||||||
|
if (Ast *ident = entry_point->identifier.load()) {
|
||||||
|
if (ident->file) {
|
||||||
init_file = ident->file;
|
init_file = ident->file;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
LLVMBool split_debug_inlining = false;
|
LLVMBool split_debug_inlining = false;
|
||||||
LLVMBool debug_info_for_profiling = false;
|
LLVMBool debug_info_for_profiling = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user