Skip to content

Commit 04f2faf

Browse files
author
Matthias Güdemann
committed
Mark GOTO instructions with unresolved virtual calls
1 parent d9cc0c0 commit 04f2faf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/goto-programs/remove_virtual_functions.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ void remove_virtual_functionst::remove_virtual_function(
192192
{
193193
// No definition for this type; shouldn't be possible...
194194
t1->make_assertion(false_exprt());
195+
t1->source_location.set_comment(
196+
("cannot find calls for " +
197+
id2string(code.function().get(ID_identifier))));
195198
}
196199
insertit.first->second=t1;
197200
// goto final

0 commit comments

Comments
 (0)