[llvm-branch-commits] [lld] release/18.x: [lld][WebAssembly] Fix test on Windows, use llvm-ar instead of ar (PR #91967)

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 13 17:46:58 PDT 2024


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/91967

>From be6c81751cc99a07dac4eef7bc6564e15fd8dfa6 Mon Sep 17 00:00:00 2001
From: Reid Kleckner <rnk at google.com>
Date: Wed, 24 Jan 2024 11:10:53 -0800
Subject: [PATCH] [lld][WebAssembly] Fix test on Windows, use llvm-ar instead
 of ar

(cherry picked from commit 4b4763ffebaed9f1fee94b8ad5a1a450a9726683)
---
 lld/test/wasm/signature-mismatch.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lld/test/wasm/signature-mismatch.s b/lld/test/wasm/signature-mismatch.s
index 7dc1b8ced3530..17f805a80727a 100644
--- a/lld/test/wasm/signature-mismatch.s
+++ b/lld/test/wasm/signature-mismatch.s
@@ -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
 



More information about the llvm-branch-commits mailing list