Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thunk writes and calls #5849

Open
zrlk opened this issue Sep 15, 2023 · 0 comments
Open

Add thunk writes and calls #5849

zrlk opened this issue Sep 15, 2023 · 0 comments
Assignees

Comments

@zrlk
Copy link
Contributor

zrlk commented Sep 15, 2023

It's useful to see deferred calls (e.g. std::thread(f) makes such a call to f) in the call graph. There's a slightly complicated extension to this where:

  • write_to_field is a function with semantics (as assigned by semantic/generated and generates) that sets a field f
  • call_with_1 calls its function argument with the value 1 (wlog)
  • call_with_1(write_to_field) should report write_to_field as a deferred write to f.

We need new edges to represent these deferred actions and support from the various components to emit them.

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

No branches or pull requests

1 participant