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

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 13 06:45:59 PDT 2024


https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/91967

Backport 4b4763ffebaed9f1fee94b8ad5a1a450a9726683

Requested by: @tstellar

>From 16388668633f61f07b91eaaf9400810cbe19f326 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