-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[GR-47755] Refactor dwarf constants. #7158
[GR-47755] Refactor dwarf constants. #7158
Conversation
@adinn, the constant
|
@adinn, given that GraalVM does not emit the fields Am I missing something? |
I believe that the frame section generates DWARF that is compatible with DWARF version 2 (which, I think, is what you were suggesting). Section 7.23 of the DWARF 2 standard states that the initial version is 1, that being the version appropriate to the current standard (i.e. DWARF 2). Likewise, Appendix F of the DWARF 4 standard states that the correct version for for DWARF 2 content is 1. So, I don't think we are generating invalid frame content. However it is arguable that the enum should not actually specify In other cases where the generator has made a choice for a version or some other range value it has used a local definition rather than an enum (see for example It might be better to define enum tags providing the encoding appropriate to each DWARF level e.g.
If you raise an issue for that I will be happy to fix it. |
You're right, I confused the CIE version with another version in the standard text of version 2.0.0. I'm sorry. |
No description provided.