From 5554a5fcbdd7a889e133a80c064e4e553fa4fae4 Mon Sep 17 00:00:00 2001 From: Bob Haarman Date: Thu, 23 May 2019 22:28:18 +0000 Subject: [PATCH] fix accidental implicit matches in elf-disassemble-symbol-labels-rel.test llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test uses --implicit-check-not to verify that certain patterns do not occur in llvm-objdump's output, except in places where they are explicitly checked. Unfortunately, the patterns are generic enough that they may be part of the file name which is also output by llvm-objdump. This change matches the line with the filename explicitly so that the implicit patterns are not applied to it. llvm-svn: 361563 --- llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test b/llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test index d2377f4..189803c 100644 --- a/llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test +++ b/llvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-rel.test @@ -9,6 +9,7 @@ # RUN: --implicit-check-not=absolute \ # RUN: --implicit-check-not=other +# CHECK: {{.*}}: file format {{.*}} # CHECK: Disassembly of section .text: # CHECK: 0000000000000000 first: # CHECK: 0000000000000001 second: -- 2.7.4