Skip to content

Commit 515f3cd

Browse files
committed
test(trim-paths): don't follow links to separate debuginfo files
1 parent bb86adf commit 515f3cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testsuite/profile_trim_paths.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,8 @@ mod object_works {
487487

488488
fn inspect_debuginfo(path: &std::path::Path) -> Vec<u8> {
489489
std::process::Command::new("readelf")
490-
.arg("-wi")
490+
.arg("--debug-dump=info")
491+
.arg("--debug-dump=no-follow-links") // older version can't recognized but just a warning
491492
.arg(path)
492493
.output()
493494
.expect("readelf works")

0 commit comments

Comments
 (0)