You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently debugging LLVM-CBE code is horrible. One issue is that we generate names for structs and their fields that don't correspond to the user's original source.
To improve this, we could generate structs based on debugging information and use these structs when storing data (i.e., for locals, parameters, fields in other names structs, etc.). To make code generation easier, any time we use a value that is a struct we can immediately cast it into the anonymous struct type (so that we can access the fields via their indexes).
The text was updated successfully, but these errors were encountered:
Currently debugging LLVM-CBE code is horrible. One issue is that we generate names for structs and their fields that don't correspond to the user's original source.
To improve this, we could generate structs based on debugging information and use these structs when storing data (i.e., for locals, parameters, fields in other names structs, etc.). To make code generation easier, any time we use a value that is a struct we can immediately cast it into the anonymous struct type (so that we can access the fields via their indexes).
The text was updated successfully, but these errors were encountered: