[lld] r296457 - [ELF] - Fix confusing gc-debuginfo-tls.s testcase. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 01:58:19 PST 2017


Author: grimar
Date: Tue Feb 28 03:58:18 2017
New Revision: 296457

URL: http://llvm.org/viewvc/llvm-project?rev=296457&view=rev
Log:
[ELF] - Fix confusing gc-debuginfo-tls.s testcase. NFC.

It checked name from one symbol and other 
data from another before.

Modified:
    lld/trunk/test/ELF/gc-debuginfo-tls.s

Modified: lld/trunk/test/ELF/gc-debuginfo-tls.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gc-debuginfo-tls.s?rev=296457&r1=296456&r2=296457&view=diff
==============================================================================
--- lld/trunk/test/ELF/gc-debuginfo-tls.s (original)
+++ lld/trunk/test/ELF/gc-debuginfo-tls.s Tue Feb 28 03:58:18 2017
@@ -4,15 +4,15 @@
 # RUN: llvm-readobj -symbols %t1 | FileCheck %s --check-prefix=GC
 # RUN: llvm-readobj -symbols %t2 | FileCheck %s --check-prefix=NOGC
 
-# NOGC: Symbol {
-# NOGC:   Name: (0)
-# NOGC:   Value: 0x1000
-# NOGC:   Size: 0
-# NOGC:   Binding: Local
-# NOGC:   Type: TLS
-# NOGC:   Other: 0
-# NOGC:   Section: .tbss
-# NOGC: }
+# NOGC:      Symbol {
+# NOGC:        Name: patatino
+# NOGC-NEXT:   Value: 0x1000
+# NOGC-NEXT:   Size: 0
+# NOGC-NEXT:   Binding: Local
+# NOGC-NEXT:   Type: TLS
+# NOGC-NEXT:   Other: 0
+# NOGC-NEXT:   Section: .tbss
+# NOGC-NEXT: }
 
 # GC-NOT: tbss
 




More information about the llvm-commits mailing list