[lld] r346614 - [ELF] Fix relocation-common.s after rL346610

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 11 10:54:58 PST 2018


Author: maskray
Date: Sun Nov 11 10:54:58 2018
New Revision: 346614

URL: http://llvm.org/viewvc/llvm-project?rev=346614&view=rev
Log:
[ELF] Fix relocation-common.s after rL346610

Modified:
    lld/trunk/test/ELF/relocation-common.s

Modified: lld/trunk/test/ELF/relocation-common.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-common.s?rev=346614&r1=346613&r2=346614&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-common.s (original)
+++ lld/trunk/test/ELF/relocation-common.s Sun Nov 11 10:54:58 2018
@@ -1,7 +1,7 @@
-// REQUIRES: x86
-// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
-// RUN: ld.lld %t -o %tout
-// RUN: llvm-objdump -t -d %tout | FileCheck %s
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
+# RUN: ld.lld %t.o -o %t
+# RUN: llvm-objdump -t -d %t | FileCheck %s
 
 .global _start
 _start:
@@ -10,5 +10,5 @@ _start:
 .global sym1
 .comm sym1,4,4
 
-// CHECK: 201000: {{.*}} movl    $1, 4086(%rip)
-// CHECK: 0000000000202000 g       .bss          O 00000004 sym1
+# CHECK: 201000: {{.*}} movl    $1, 4086(%rip)
+# CHECK: 0000000000202000 g     O .bss            00000004 sym1




More information about the llvm-commits mailing list