[lld] r247790 - Fix test to actually test something.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 05:50:33 PDT 2015


Author: rafael
Date: Wed Sep 16 07:50:32 2015
New Revision: 247790

URL: http://llvm.org/viewvc/llvm-project?rev=247790&view=rev
Log:
Fix test to actually test something.

Modified:
    lld/trunk/test/elf2/relocation-absolute.s

Modified: lld/trunk/test/elf2/relocation-absolute.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/relocation-absolute.s?rev=247790&r1=247789&r2=247790&view=diff
==============================================================================
--- lld/trunk/test/elf2/relocation-absolute.s (original)
+++ lld/trunk/test/elf2/relocation-absolute.s Wed Sep 16 07:50:32 2015
@@ -1,12 +1,12 @@
 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs
 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
 // RUN: lld -flavor gnu2 %tabs %t -o %tout
-// RUN: llvm-objdump -s %tout
+// RUN: llvm-objdump -d %tout | FileCheck %s
 // REQUIRES: x86
 
 .global _start
 _start:
   movl $abs, %edx
 
-#CHECK:      Contents of section .text:
-#CHECK-NEXT:  {{[0-1a-f]+}} ba420000 00
+//CHECK:      start:
+//CHECK-NEXT: movl	$66, %edx




More information about the llvm-commits mailing list