Skip to content

Commit 9df8ebb

Browse files
Revert "Try adding inlining"
This reverts commit 6ff19b3.
1 parent 572bffa commit 9df8ebb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/symbolize/gimli/parse_running_mmaps_unix.rs

-3
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,10 @@ pub(super) fn parse_maps() -> Result<Vec<MapsEntry>, &'static str> {
6969
}
7070

7171
impl MapsEntry {
72-
#[inline]
7372
pub(super) fn pathname(&self) -> &OsString {
7473
&self.pathname
7574
}
7675

77-
#[inline]
7876
pub(super) fn ip_matches(&self, ip: usize) -> bool {
7977
self.address.0 <= ip && ip < self.address.1
8078
}
@@ -87,7 +85,6 @@ impl FromStr for MapsEntry {
8785
// e.g.: "ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]"
8886
// e.g.: "7f5985f46000-7f5985f48000 rw-p 00039000 103:06 76021795 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
8987
// e.g.: "35b1a21000-35b1a22000 rw-p 00000000 00:00 0"
90-
#[inline]
9188
fn from_str(s: &str) -> Result<Self, Self::Err> {
9289
let missing_field = "failed to find all map fields";
9390
let parse_err = "failed to parse all map fields";

0 commit comments

Comments
 (0)