[llvm] 40ee8ab - [llvm-objdump] Make arm64ec.yaml warning check less strict to account for Windows

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 09:46:20 PDT 2023


Author: David Spickett
Date: 2023-08-15T16:46:04Z
New Revision: 40ee8abee77a2e8fb0089d4c7f5723b71f27d416

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

LOG: [llvm-objdump] Make arm64ec.yaml warning check less strict to account for Windows

When 7a28b0b60e81a0472bfc6af992e824ef01cc08b8 added this it wanted
"llvm-objdump: warning: <...>". On our Windows on Arm bot you get:
c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\llvm-objdump.exe: warning:

Seems unlikely the warning would come from anywhere else and if
it does, this test isn't the one to be catching that. So I've
shortened the checks to start at "warning: ".

Added: 
    

Modified: 
    llvm/test/tools/llvm-objdump/COFF/arm64ec.yaml

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/COFF/arm64ec.yaml b/llvm/test/tools/llvm-objdump/COFF/arm64ec.yaml
index db47753d64fec9..94aa3ad9bc7280 100644
--- a/llvm/test/tools/llvm-objdump/COFF/arm64ec.yaml
+++ b/llvm/test/tools/llvm-objdump/COFF/arm64ec.yaml
@@ -27,8 +27,8 @@
 # ARM64EC: file format coff-arm64ec
 # ARM64X:  file format coff-arm64x
 
-# WARN1: llvm-objdump: warning: '{{.*}}': unable to get target for 'x86_64--', see --version and --triple.
-# WARN2: llvm-objdump: warning: '{{.*}}': unable to get target for 'x86_64-w64-windows-gnu', see --version and --triple.
+# WARN1: warning: '{{.*}}': unable to get target for 'x86_64--', see --version and --triple.
+# WARN2: warning: '{{.*}}': unable to get target for 'x86_64-w64-windows-gnu', see --version and --triple.
 
 # DISASM:      Disassembly of section .text:
 # DISASM-EMPTY:


        


More information about the llvm-commits mailing list