[lld][WebAssembly] Fix test on Windows, use llvm-ar instead of ar
authorReid Kleckner <rnk@google.com>
Wed, 24 Jan 2024 19:10:53 +0000 (11:10 -0800)
committerTom Stellard <tstellar@redhat.com>
Tue, 14 May 2024 00:46:50 +0000 (17:46 -0700)
(cherry picked from commit 4b4763ffebaed9f1fee94b8ad5a1a450a9726683)

lld/test/wasm/signature-mismatch.s

index 7dc1b8ced3530d593c19265f8bbcfa37ef4ab345..17f805a80727a52503311c99920571eca65c70a5 100644 (file)
@@ -9,7 +9,7 @@
 # RUN: obj2yaml %t.reloc.o | FileCheck %s -check-prefix=RELOC
 
 # RUN: rm -f %t.a
-# RUN: ar crS %t.a %t.ret32.o %t.call.o
+# RUN: llvm-ar crS %t.a %t.ret32.o %t.call.o
 # RUN: wasm-ld --export=call_ret32 --export=ret32 -o %t2.wasm %t.main.o %t.a 2>&1 | FileCheck %s -check-prefix=ARCHIVE
 # RUN: obj2yaml %t2.wasm | FileCheck %s -check-prefix=YAML