[clang] 6b992bc - [Driver][test] Fix test by creating empty archive instead of empty file
Jacob Lambert via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 5 15:43:17 PST 2022
Author: Jacob Lambert
Date: 2022-12-05T15:39:09-08:00
New Revision: 6b992bcce0c5a86f57c83dd8d0ac9e63bcfc5521
URL: https://github.com/llvm/llvm-project/commit/6b992bcce0c5a86f57c83dd8d0ac9e63bcfc5521
DIFF: https://github.com/llvm/llvm-project/commit/6b992bcce0c5a86f57c83dd8d0ac9e63bcfc5521.diff
LOG: [Driver][test] Fix test by creating empty archive instead of empty file
Differential Revision: https://reviews.llvm.org/D137275
Added:
Modified:
clang/test/Driver/hip-link-bc-to-bc.hip
Removed:
################################################################################
diff --git a/clang/test/Driver/hip-link-bc-to-bc.hip b/clang/test/Driver/hip-link-bc-to-bc.hip
index 972822b5260c2..ac6dcf494224b 100644
--- a/clang/test/Driver/hip-link-bc-to-bc.hip
+++ b/clang/test/Driver/hip-link-bc-to-bc.hip
@@ -1,6 +1,4 @@
// REQUIRES: x86-registered-target, amdgpu-registered-target
-// See issue #58711
-// XFAIL: *
// Check that clang unbundles the two bitcodes and links via llvm-link
// RUN: rm -rf %t && mkdir %t
@@ -21,7 +19,7 @@
// BITCODE: "{{.*}}llvm-link" "-o" "bundle1-hip-amdgcn-amd-amdhsa-gfx906.bc" "[[B1DEV2]]" "[[B2DEV2]]"
// Check that clang unbundles the bitcode and archive and links via llvm-link
-// RUN: touch %t/libhipbundle.a
+// RUN: ar rc %t/libhipbundle.a
// RUN: touch %t/bundle.bc
// RUN: %clang -### --target=x86_64-unknown-linux-gnu --offload-arch=gfx906 --hip-link \
More information about the cfe-commits
mailing list