Update gimli to 0.25; addr2line to 0.16
This commit is contained in:
@@ -204,10 +204,9 @@ impl<'data> ModuleEnvironment<'data> {
|
||||
let slice = gimli::EndianSlice::new(data, endian);
|
||||
|
||||
match name {
|
||||
// Dwarf fields.
|
||||
// `gimli::Dwarf` fields.
|
||||
".debug_abbrev" => dwarf.debug_abbrev = gimli::DebugAbbrev::new(data, endian),
|
||||
".debug_addr" => dwarf.debug_addr = gimli::DebugAddr::from(slice),
|
||||
// TODO aranges?
|
||||
".debug_info" => dwarf.debug_info = gimli::DebugInfo::new(data, endian),
|
||||
".debug_line" => dwarf.debug_line = gimli::DebugLine::new(data, endian),
|
||||
".debug_line_str" => dwarf.debug_line_str = gimli::DebugLineStr::from(slice),
|
||||
@@ -226,6 +225,9 @@ impl<'data> ModuleEnvironment<'data> {
|
||||
".debug_ranges" => info.debug_ranges = gimli::DebugRanges::new(data, endian),
|
||||
".debug_rnglists" => info.debug_rnglists = gimli::DebugRngLists::new(data, endian),
|
||||
|
||||
// We don't use these at the moment.
|
||||
".debug_aranges" | ".debug_pubnames" | ".debug_pubtypes" => return,
|
||||
|
||||
other => {
|
||||
log::warn!("unknown debug section `{}`", other);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user