Skip to content

Commit 983c080

Browse files
committed
location numbers fix
1 parent 6a7ba98 commit 983c080

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,6 @@ int goto_instrument_parse_optionst::doit()
146146

147147
get_goto_program();
148148

149-
// update as goto program produced by goto-cc does not have
150-
// unique location numbers
151-
goto_functions.update();
152-
goto_functions.compute_loop_numbers();
153-
154149
instrument_goto_program();
155150

156151
if(cmdline.isset("unwind"))

src/goto-programs/read_bin_goto_object.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ bool read_bin_goto_object_v3(
160160
if(hidden) f.make_hidden();
161161
}
162162

163+
functions.compute_location_numbers();
164+
163165
return false;
164166
}
165167

0 commit comments

Comments
 (0)