[llvm] [llvm-ar][GOFF] Implement symbol attributes for GOFF archives (PR #214528)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 01:55:06 PDT 2026


================
@@ -28,14 +28,15 @@
 # ARMAP-NEXT: s_data in data.o (flags: 0x00000003 [XPLink + WSA])
 
 ## 2. Test that basic archive operations still work on a GOFF archive.
-##    llvm-ar t should list all member names.
-# RUN: llvm-ar t %t.dir/test.a | FileCheck %s --check-prefix=LIST
+##    llvm-ar t should list exactly the expected member names and nothing else.
+# RUN: llvm-ar t %t.dir/test.a | FileCheck %s --check-prefix=LIST \
+# RUN:   --implicit-check-not={{.+}}
----------------
jh7370 wrote:

Sorry, I misremembered the pattern needed. The `+` is functionally redundant, since this is a NOT check. You can omit it and you'll end up with the same set of failure cases, regardless of the output (since "1 or more characters" will always include "1 character").

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


More information about the llvm-commits mailing list