Philip Craig
Philip Craig
A couple of issues were encountered in #448 and https://github.com/bjorn3/rustc_codegen_cranelift/pull/978: - subprograms need a `DW_AT_name` attribute - `DW_AT_high_pc` can only be a length for DWARF version >= 4 - base...
This should support the following uses: - better support for relocated addresses (eg when using function sections, which have every function symbol at address 0) - reuse of the same...
My strategy for handling relocatable addresses so far has been to override `Reader::read_address/read_offset` to store the relocation in a map and return an index into that map instead of the...
The current handling of `DW_FORM_ref_addr` assumes that you are writing all of the compilation units at once, so that it can calculate the section offset itself, but that is atypical...
Now that the `Error` trait has deprecated `description` (see #462), we shouldn't bother with `read::Error::description` at all, and it should be moved into the `impl Display`. Since this also means...
Sections: - [ ] expressions/locations in .debug_info and .debug_loc/.debug_loclists - [ ] .debug_str_offsets - [x] .debug_frame/.eh_frame - [ ] .eh_frame_hdr (lower priority) - [ ] .debug_aranges - [ ] .debug_pubnames/.debug_pubtypes/.debug_names...
You can see this when using `dwarfdump --eh-frame` on an object file.
DWARF 5 allows the following unit types: - DW_UT_compile - DW_UT_type - DW_UT_partial - DW_UT_skeleton - DW_UT_split_compile - DW_UT_split_type I propose we delete the existing `struct CompilationUnitHeader` and `struct TypeUnitHeader`...
Support for a non-zero `segment_selector_size` is still needed in at least the following places: - `DW_CFA_set_loc` - range lists - location lists - line number programs (new in DWARF 5)...
Currently we pass strings around as `Reader`s, but it would be nicer to use a newtype instead. In particular, this newtype could implement `Debug` to write the string instead of...