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

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 10:56:51 PDT 2024


Author: Jacek Caban
Date: 2024-03-13T18:56:46+01:00
New Revision: c41966161fffea6ef280fbd341ef1751f70379dd

URL: https://github.com/llvm/llvm-project/commit/c41966161fffea6ef280fbd341ef1751f70379dd
DIFF: https://github.com/llvm/llvm-project/commit/c41966161fffea6ef280fbd341ef1751f70379dd.diff

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

Fixes test failures on AIX after #82898.

Added: 
    

Modified: 
    llvm/test/tools/llvm-ar/coff-symtab.test

Removed: 
    


################################################################################
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