[lld] 09331fd - [LLD][ELF][Test] - Fixed the broken test case.

Georgii Rymar via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 03:22:03 PDT 2020


Author: Georgii Rymar
Date: 2020-04-14T13:21:49+03:00
New Revision: 09331fd742ef72836fc651b71dce90dfae63c2d8

URL: https://github.com/llvm/llvm-project/commit/09331fd742ef72836fc651b71dce90dfae63c2d8
DIFF: https://github.com/llvm/llvm-project/commit/09331fd742ef72836fc651b71dce90dfae63c2d8.diff

LOG: [LLD][ELF][Test] - Fixed the broken test case.

There was no ":" after "SEC", hence the check was
disabled. Found with the use of D78024.

Added: 
    

Modified: 
    lld/test/ELF/x86-64-tls-gdie.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/x86-64-tls-gdie.s b/lld/test/ELF/x86-64-tls-gdie.s
index d3edd1fa5069..b1be62ec5450 100644
--- a/lld/test/ELF/x86-64-tls-gdie.s
+++ b/lld/test/ELF/x86-64-tls-gdie.s
@@ -3,11 +3,11 @@
 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/tls-opt-gdie.s -o %tso.o
 // RUN: ld.lld -shared %tso.o -soname=so -o %t.so
 // RUN: ld.lld %t.o %t.so -o %t1
-// RUN: llvm-readobj -S %t1 | FileCheck --check-prefix=SEC --implicit-check-not=.plt %s
+// RUN: llvm-readelf -S %t1 | FileCheck --check-prefix=SEC --implicit-check-not=.plt %s
 // RUN: llvm-readobj -r %t1 | FileCheck --check-prefix=RELOC %s
 // RUN: llvm-objdump -d --no-show-raw-insn %t1 | FileCheck --check-prefix=DISASM %s
 
-// SEC .got PROGBITS 00000000002020b0 0020b0 000010 00 WA 0 0 8
+// SEC: .got PROGBITS 00000000002023a8 0003a8 000010 00 WA 0 0 8
 
 //RELOC:      Relocations [
 //RELOC-NEXT:   Section (5) .rela.dyn {


        


More information about the llvm-commits mailing list