[llvm] [llvm-ar] Be explicit about archive format in coff-symtab.test tests. (PR #85112)

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 10:54:44 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-binary-utilities

Author: Jacek Caban (cjacek)

<details>
<summary>Changes</summary>

Fixes test failures on AIX after #<!-- -->82898.

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


1 Files Affected:

- (modified) llvm/test/tools/llvm-ar/coff-symtab.test (+1-1) 


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

``````````

</details>


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


More information about the llvm-commits mailing list