We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04845bb commit 6c2d910Copy full SHA for 6c2d910
src/symbolize/gimli/xcoff.rs
@@ -133,6 +133,10 @@ impl<'a> Object<'a> {
133
};
134
let sym = self.syms.get(i)?;
135
if (sym.address..sym.address + sym.size).contains(&addr) {
136
+ // FIXME: Should we trim the leading '.' of
137
+ // the symbol of a function entry?
138
+ // If not, the rust mangler might not work properly.
139
+ // Or we should update rust mangler to trim the leading '.'?
140
Some(sym.name.trim_start_matches(".").as_bytes())
141
} else {
142
None
0 commit comments