[lld] r327353 - [lld] Fix comdat tests
Alexander Shaposhnikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 12 17:07:53 PDT 2018
Author: alexshap
Date: Mon Mar 12 17:07:53 2018
New Revision: 327353
URL: http://llvm.org/viewvc/llvm-project?rev=327353&view=rev
Log:
[lld] Fix comdat tests
This diff adjusts the comdat tests after changing the format
of llvm-readobj output for .group sections.
Modified:
lld/trunk/test/ELF/relocatable-comdat-multiple.s
lld/trunk/test/ELF/relocatable-comdat.s
lld/trunk/test/ELF/relocatable-comdat2.s
Modified: lld/trunk/test/ELF/relocatable-comdat-multiple.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-comdat-multiple.s?rev=327353&r1=327352&r2=327353&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-comdat-multiple.s (original)
+++ lld/trunk/test/ELF/relocatable-comdat-multiple.s Mon Mar 12 17:07:53 2018
@@ -8,6 +8,8 @@
# CHECK-NEXT: Group {
# CHECK-NEXT: Name: .group
# CHECK-NEXT: Index: 2
+# CHECK-NEXT: Link: 8
+# CHECK-NEXT: Info: 1
# CHECK-NEXT: Type: COMDAT
# CHECK-NEXT: Signature: aaa
# CHECK-NEXT: Section(s) in group [
@@ -18,6 +20,8 @@
# CHECK-NEXT: Group {
# CHECK-NEXT: Name: .group
# CHECK-NEXT: Index: 5
+# CHECK-NEXT: Link: 8
+# CHECK-NEXT: Info: 2
# CHECK-NEXT: Type: COMDAT
# CHECK-NEXT: Signature: bbb
# CHECK-NEXT: Section(s) in group [
Modified: lld/trunk/test/ELF/relocatable-comdat.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-comdat.s?rev=327353&r1=327352&r2=327353&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-comdat.s (original)
+++ lld/trunk/test/ELF/relocatable-comdat.s Mon Mar 12 17:07:53 2018
@@ -30,6 +30,8 @@
# CHECK-NEXT: Group {
# CHECK-NEXT: Name: .group
# CHECK-NEXT: Index: 2
+# CHECK-NEXT: Link: 5
+# CHECK-NEXT: Info: 1
# CHECK-NEXT: Type: COMDAT
# CHECK-NEXT: Signature: abc
# CHECK-NEXT: Section(s) in group [
Modified: lld/trunk/test/ELF/relocatable-comdat2.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-comdat2.s?rev=327353&r1=327352&r2=327353&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-comdat2.s (original)
+++ lld/trunk/test/ELF/relocatable-comdat2.s Mon Mar 12 17:07:53 2018
@@ -13,6 +13,8 @@
# CHECK-NEXT: Group {
# CHECK-NEXT: Name: .group
# CHECK-NEXT: Index: 2
+# CHECK-NEXT: Link: 7
+# CHECK-NEXT: Info: 1
# CHECK-NEXT: Type: COMDAT
# CHECK-NEXT: Signature: bar
# CHECK-NEXT: Section(s) in group [
@@ -22,6 +24,8 @@
# CHECK-NEXT: Group {
# CHECK-NEXT: Name: .group
# CHECK-NEXT: Index: 4
+# CHECK-NEXT: Link: 7
+# CHECK-NEXT: Info: 2
# CHECK-NEXT: Type: COMDAT
# CHECK-NEXT: Signature: zed
# CHECK-NEXT: Section(s) in group [
More information about the llvm-commits
mailing list