Skip to content
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

Implement DW_AT_ranges writing #360

Closed
bjorn3 opened this issue Jan 15, 2019 · 3 comments
Closed

Implement DW_AT_ranges writing #360

bjorn3 opened this issue Jan 15, 2019 · 3 comments

Comments

@bjorn3
Copy link
Contributor

bjorn3 commented Jan 15, 2019

This is needed for https://github.com/bjorn3/rustc_codegen_cranelift/issues/166 line info, because I can't rely on faerie putting functions in a certain order. And gdb doesn't accept line info when neither DW_AT_low_pc nor DW_AT_high_pc/DW_AT_ranges is set.

@bjorn3
Copy link
Contributor Author

bjorn3 commented Jan 16, 2019

Working on this. I only need to implement converting from the read version and test it.

@bjorn3
Copy link
Contributor Author

bjorn3 commented Jan 16, 2019

I have got a failing test :( https://github.com/bjorn3/gimli/tree/impl_range_write

@philipc
Copy link
Collaborator

philipc commented Jan 16, 2019

I haven't looked in detail, but probably need to convert the raw ranges. I can have another look tomorrow. Also feel free to open a WIP PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants