Skip to content

Commit 46ae738

Browse files
committed
Use objdump instead of llvm-objdump
1 parent 7877883 commit 46ae738

File tree

1 file changed

+4
-2
lines changed
  • tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu

1 file changed

+4
-2
lines changed

Diff for: tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ fn check_symbols(file: &Path, max_supported: (u32, u32, u32)) {
7979
fn get_glibc_symbols(file: &Path) -> Vec<GlibcSymbol> {
8080
let regex = regex::Regex::new(r#"GLIBC_(\d)+\.(\d+)(:?\.(\d+))?"#).unwrap();
8181

82-
// Uses llvm-objdump, because implementing this using the `object` crate is quite complicated.
83-
llvm_objdump()
82+
// FIXME(kobzol): llvm-objdump currently chokes on the BOLTed librustc_driver.so file.
83+
// Use objdump instead, since it seems to work, and we only run this test in a specific
84+
// CI environment anyway.
85+
cmd("objdump")
8486
.arg("--dynamic-syms")
8587
.arg(file)
8688
.run()

0 commit comments

Comments
 (0)