mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
more debug info corrections
This commit is contained in:
parent
dbcb6ca5da
commit
05c1b6c583
4 changed files with 27 additions and 8 deletions
|
@ -156,6 +156,8 @@ impl<'ctx> PointerToRefcount<'ctx> {
|
|||
let subprogram = env.new_subprogram(fn_name);
|
||||
function_value.set_subprogram(subprogram);
|
||||
|
||||
debug_info_init!(env, function_value);
|
||||
|
||||
Self::build_decrement_function_body(env, function_value, alignment);
|
||||
|
||||
function_value
|
||||
|
@ -1049,6 +1051,8 @@ pub fn build_header_help<'ctx>(
|
|||
let subprogram = env.new_subprogram(fn_name);
|
||||
fn_val.set_subprogram(subprogram);
|
||||
|
||||
debug_info_init!(env, fn_val);
|
||||
|
||||
env.dibuilder.finalize();
|
||||
|
||||
fn_val
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue