[llvm] [XCOFF] Add compiler version to an auxiliary symbol table entry (PR #80162)

David Tenty via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 14:37:49 PST 2024


================
@@ -6,11 +6,11 @@
 
 ; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -mcpu=pwr4 \
 ; RUN:     -mattr=-altivec -filetype=obj -o %t.o < %s
-; RUN: llvm-readobj --symbols %t.o | FileCheck --check-prefix=OBJ %s
+; RUN: llvm-readobj --symbols %t.o | FileCheck -D#NFA=2 --check-prefix=OBJ %s
----------------
daltenty wrote:

Side note: in a lot of similar tests, we'd just use a capture expression (https://llvm.org/docs/CommandGuide/FileCheck.html#filecheck-numeric-substitution-blocks) on the first entry and do the offsets from there, to avoid needing to have a precise start, but I don't think it's really worth changing in this case

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


More information about the llvm-commits mailing list