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
This also needs to handle GNU extensions that were added to newer versions. We should emit the GNU extension for older versions, and the standard value for newer versions.
A couple of issues were encountered in #448 and https://github.com/bjorn3/rustc_codegen_cranelift/pull/978:
DW_AT_name
attributeDW_AT_high_pc
can only be a length for DWARF version >= 4And there'll be a whole bunch of other things that the standard requires or that are added in newer versions which we don't check for at all.
Some ideas for how to help with this:
validate
method toUnitTable
orUnit
Ideally the API would disallow these sorts of errors, but it is too low level for this. Maybe we should provide a higher level API too.
The text was updated successfully, but these errors were encountered: