[lld] r336135 - [ELF] Fix just-symbols*.s after r336129

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 12:12:10 PDT 2018


Author: maskray
Date: Mon Jul  2 12:12:10 2018
New Revision: 336135

URL: http://llvm.org/viewvc/llvm-project?rev=336135&view=rev
Log:
[ELF] Fix just-symbols*.s after r336129

Modified:
    lld/trunk/test/ELF/just-symbols-cref.s
    lld/trunk/test/ELF/just-symbols.s

Modified: lld/trunk/test/ELF/just-symbols-cref.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/just-symbols-cref.s?rev=336135&r1=336134&r2=336135&view=diff
==============================================================================
--- lld/trunk/test/ELF/just-symbols-cref.s (original)
+++ lld/trunk/test/ELF/just-symbols-cref.s Mon Jul  2 12:12:10 2018
@@ -1,9 +1,9 @@
 # REQUIRES: x86
 
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: ld.lld %t.o -o /dev/null -Ttext=0x10000
+# RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000
 
-# RUN: ld.lld -just-symbols=%t1.exe -o /dev/null -cref | FileCheck %s
+# RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe -cref | FileCheck %s
 
 # CHECK:      Symbol      File
 # CHECK-NEXT: bar         {{.*exe}}

Modified: lld/trunk/test/ELF/just-symbols.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/just-symbols.s?rev=336135&r1=336134&r2=336135&view=diff
==============================================================================
--- lld/trunk/test/ELF/just-symbols.s (original)
+++ lld/trunk/test/ELF/just-symbols.s Mon Jul  2 12:12:10 2018
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: ld.lld %t.o -o /dev/null -Ttext=0x10000
+# RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000
 
 # RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe
 # RUN: llvm-readelf -symbols %t2.exe | FileCheck %s




More information about the llvm-commits mailing list