about summary refs log tree commit diff
path: root/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-01-22 09:58:45 +0100
committerJakub Beránek <berykubik@gmail.com>2025-01-22 12:47:44 +0100
commit46ae7382a43fd8a53d2476208c52ce7255ede79e (patch)
treefec4d115808a152b84283af5d0d629896a1e9e15 /tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu
parent7877883339e96577701344bd68a80470e1be22aa (diff)
downloadrust-46ae7382a43fd8a53d2476208c52ce7255ede79e.tar.gz
rust-46ae7382a43fd8a53d2476208c52ce7255ede79e.zip
Use objdump instead of llvm-objdump
Diffstat (limited to 'tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu')
-rw-r--r--tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs b/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs
index 76acf93c055..3b9963f9465 100644
--- a/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs
+++ b/tests/run-make/glibc-symbols-x86_64-unknown-linux-gnu/rmake.rs
@@ -79,8 +79,10 @@ fn check_symbols(file: &Path, max_supported: (u32, u32, u32)) {
 fn get_glibc_symbols(file: &Path) -> Vec<GlibcSymbol> {
     let regex = regex::Regex::new(r#"GLIBC_(\d)+\.(\d+)(:?\.(\d+))?"#).unwrap();
 
-    // Uses llvm-objdump, because implementing this using the `object` crate is quite complicated.
-    llvm_objdump()
+    // FIXME(kobzol): llvm-objdump currently chokes on the BOLTed librustc_driver.so file.
+    // Use objdump instead, since it seems to work, and we only run this test in a specific
+    // CI environment anyway.
+    cmd("objdump")
         .arg("--dynamic-syms")
         .arg(file)
         .run()