Skip to content

Commit

Permalink
test(trim-paths): don't follow links to separate debuginfo files
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Dec 8, 2023
1 parent bb86adf commit 515f3cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testsuite/profile_trim_paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ mod object_works {

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

0 comments on commit 515f3cd

Please sign in to comment.