[llvm] [llvm-ar] Be explicit about archive format in coff-symtab.test tests. (PR #85112)
Jacek Caban via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 10:54:12 PDT 2024
https://github.com/cjacek created https://github.com/llvm/llvm-project/pull/85112
Fixes test failures on AIX after #82898.
>From e0de8a39b71929fa2c73f5aa0f4f49e6ceb05c04 Mon Sep 17 00:00:00 2001
From: Jacek Caban <jacek at codeweavers.com>
Date: Wed, 13 Mar 2024 18:50:22 +0100
Subject: [PATCH] [llvm-ar] Be explicit about archive format in
coff-symtab.test tests.
Fixes test failures on AIX after #82898.
---
llvm/test/tools/llvm-ar/coff-symtab.test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/tools/llvm-ar/coff-symtab.test b/llvm/test/tools/llvm-ar/coff-symtab.test
index 4f7270d9e2c6e7..4a574723a9bea8 100644
--- a/llvm/test/tools/llvm-ar/coff-symtab.test
+++ b/llvm/test/tools/llvm-ar/coff-symtab.test
@@ -16,7 +16,7 @@ RUN: llvm-nm --print-armap out3.a | FileCheck %s
Create an empty archive with no symbol map, add a COFF file to it and check that the output archive is a COFF archive.
-RUN: llvm-ar rcS out4.a
+RUN: llvm-ar --format coff rcS out4.a
RUN: llvm-ar rs out4.a coff-symtab.obj
RUN: llvm-nm --print-armap out4.a | FileCheck %s
More information about the llvm-commits
mailing list