Skip to content

Generator: fix bug in code generation for indirect calls#466

Open
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:indirect-calls
Open

Generator: fix bug in code generation for indirect calls#466
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:indirect-calls

Conversation

@chqrlie
Copy link
Contributor

@chqrlie chqrlie commented Mar 17, 2026

  • call tracing code was triggering an assert on calls via a table lookup or an explicit pointer dereference.
  • such indirect calls are still traced but target function is not known at compile time so it is shown as '*'

* call tracing code was triggering an assert on calls via
  a table lookup or an explicit pointer dereference.
* such indirect calls are still traced but target function is
  not known at compile time so it is shown as '*'
@bvdberg
Copy link
Member

bvdberg commented Mar 18, 2026

Can we add a test that shows the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants