Skip to content

Commit a55c7f8

Browse files
committed
test(trim-paths): re-enable more symbols trimming check
rust-lang/rust#117652 has been fixed.
1 parent bffece8 commit a55c7f8

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/testsuite/profile_trim_paths.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -592,24 +592,6 @@ fn object_works_helper(split_debuginfo: &str, run: impl Fn(&std::path::Path) ->
592592
if memchr::memmem::find(line, b" OSO ").is_some() {
593593
continue;
594594
}
595-
596-
// on macOS `SO` symbols are embedded in final binaries and should be trimmed.
597-
// See rust-lang/rust#117652.
598-
if memchr::memmem::find(line, b" SO ").is_some() {
599-
continue;
600-
}
601-
}
602-
603-
#[cfg(target_os = "linux")]
604-
{
605-
// There is a bug in rustc `-Zremap-path-scope`.
606-
// See rust-lang/rust/pull/118518
607-
if memchr::memmem::find(line, b"DW_AT_comp_dir").is_some() {
608-
continue;
609-
}
610-
if memchr::memmem::find(line, b"DW_AT_GNU_dwo_name").is_some() {
611-
continue;
612-
}
613595
}
614596

615597
panic!(

0 commit comments

Comments
 (0)