-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
awaiting upstreamBlocked by upstream issuesBlocked by upstream issuesenhancementNew feature or requestNew feature or request
Description
I directly utilize the SSA operand display name as the name appearing in debug information. While this provides a direct association in debugging experience, dereference or other operations becomes impossible in GDB/LLDB TUI as %operand->xxx cannot be parsed easily.
Ultimately, when tmp_var is merged in upstream, we should not use this SSA name implicitly.
- Provide a pass to associate
gccjit.var_nameattribute with each SSA value if a user really want to debug with SSA ids. This pass should have an option to control mangling behavior such as replacing%with$in variable. - Maintain
var_nameproperly during lowering - Make all other irrelevant intermediate values as unnamed tmp vars.
Metadata
Metadata
Assignees
Labels
awaiting upstreamBlocked by upstream issuesBlocked by upstream issuesenhancementNew feature or requestNew feature or request