[PATCH] D137275: [Driver][test] Fix test by creating empty archive instead of empty file

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 07:53:04 PST 2022


yaxunl added inline comments.


================
Comment at: clang/test/Driver/hip-link-bc-to-bc.hip:22
 // 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
----------------
probably we should use llvm-ar instead of ar


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137275/new/

https://reviews.llvm.org/D137275



More information about the cfe-commits mailing list