[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:46:26 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 4b4763ffebaed9f1fee94b8ad5a1a450a9726683

Requested by: @<!-- -->tstellar

---
Full diff: https://github.com/llvm/llvm-project/pull/91967.diff


1 Files Affected:

- (modified) lld/test/wasm/signature-mismatch.s (+1-1) 


``````````diff
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
 

``````````

</details>


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


More information about the llvm-branch-commits mailing list