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
fix: make strings distinguishable from char arrays in debug info (#1496)
This PR changes how DWARF debug information is generated for STRING types.
Strings are now generated as aliased types in debug info, where the alias points to the underlying character array type. The aliases follow a naming scheme, __[W]STRING__<size>, such that they can be distinguished from regular character arrays by tools which rely on parsing debug information.
Since these are aliased types, regular debugging functionality remains unaffected since debuggers will resolve aliased types to their base-types.
0 commit comments