[lld] r281929 - Don't CHECK the addresses. NFC

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 11:58:30 PDT 2016


Author: rafael
Date: Mon Sep 19 13:58:30 2016
New Revision: 281929

URL: http://llvm.org/viewvc/llvm-project?rev=281929&view=rev
Log:
Don't CHECK the addresses. NFC

That is not what this test is about. This reduces changes in another
patch that changes layout.

Modified:
    lld/trunk/test/ELF/linkerscript/excludefile.s

Modified: lld/trunk/test/ELF/linkerscript/excludefile.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/excludefile.s?rev=281929&r1=281928&r2=281929&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/excludefile.s (original)
+++ lld/trunk/test/ELF/linkerscript/excludefile.s Mon Sep 19 13:58:30 2016
@@ -11,15 +11,15 @@
 
 # CHECK: Disassembly of section .text:
 # CHECK: _start:
-# CHECK:      120:       48 c7 c0 3c 00 00 00    movq    $60, %rax
-# CHECK:      127:       48 c7 c7 2a 00 00 00    movq    $42, %rdi
-# CHECK:      12e:       00 00   addb    %al, (%rax)
+# CHECK-NEXT: :       48 c7 c0 3c 00 00 00    movq    $60, %rax
+# CHECK-NEXT: :       48 c7 c7 2a 00 00 00    movq    $42, %rdi
+# CHECK-NEXT: :       00 00   addb    %al, (%rax)
 # CHECK: _potato:
-# CHECK:      130:       90      nop
-# CHECK:      131:       90      nop
-# CHECK:      132:       00 00   addb    %al, (%rax)
+# CHECK-NEXT: :       90      nop
+# CHECK-NEXT: :       90      nop
+# CHECK-NEXT: :       00 00   addb    %al, (%rax)
 # CHECK: tomato:
-# CHECK:      134:       b8 01 00 00 00  movl    $1, %eax
+# CHECK-NEXT: :       b8 01 00 00 00  movl    $1, %eax
 
 # RUN: echo "SECTIONS { .patatino : \
 # RUN: { KEEP(*(EXCLUDE_FILE(*notinclude) .text)) } }" \
@@ -29,15 +29,15 @@
 
 # EXCLUDE: Disassembly of section .patatino:
 # EXCLUDE: _start:
-# EXCLUDE:      120:       48 c7 c0 3c 00 00 00    movq    $60, %rax
-# EXCLUDE:      127:       48 c7 c7 2a 00 00 00    movq    $42, %rdi
-# EXCLUDE:      12e:       00 00   addb    %al, (%rax)
+# EXCLUDE-NEXT: :       48 c7 c0 3c 00 00 00    movq    $60, %rax
+# EXCLUDE-NEXT: :       48 c7 c7 2a 00 00 00    movq    $42, %rdi
+# EXCLUDE-NEXT: :       00 00   addb    %al, (%rax)
 # EXCLUDE: _potato:
-# EXCLUDE:      130:       90      nop
-# EXCLUDE:      131:       90      nop
+# EXCLUDE-NEXT: :       90      nop
+# EXCLUDE-NEXT: :       90      nop
 # EXCLUDE: Disassembly of section .text:
 # EXCLUDE: tomato:
-# EXCLUDE:      134:       b8 01 00 00 00  movl    $1, %eax
+# EXCLUDE-NEXT: :       b8 01 00 00 00  movl    $1, %eax
 
 .section .text
 .globl _start




More information about the llvm-commits mailing list