correct inline logic

This commit is contained in:
Corwin 2024-04-18 19:10:39 +01:00
parent 1a3b4319bc
commit 55394640b0
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
mod gwilym_encoding;
mod load_dwarf;
use addr2line::gimli::{self, EndianReader};
use addr2line::gimli;
pub use gwilym_encoding::{gwilym_decode, GwilymDecodeError};
pub use load_dwarf::{load_dwarf, GimliDwarf, LoadDwarfError};
use thiserror::Error;
@ -71,7 +71,7 @@ pub fn address_info(
infos.push(AddressInfo {
location,
is_interesting,
is_inline: is_first,
is_inline: !is_first,
function: function_name,
});
is_first = false;