[lld] r273920 - [yaml2obj] Updating LLD tests to account for LLVM r273915
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 13:17:08 PDT 2016
Author: cbieneman
Date: Mon Jun 27 15:17:08 2016
New Revision: 273920
URL: http://llvm.org/viewvc/llvm-project?rev=273920&view=rev
Log:
[yaml2obj] Updating LLD tests to account for LLVM r273915
This removed the -format flag from yaml2obj in favor of YAML tags.
Modified:
lld/trunk/test/COFF/Inputs/armnt-executable.obj.yaml
lld/trunk/test/COFF/Inputs/export.yaml
lld/trunk/test/COFF/Inputs/export2.yaml
lld/trunk/test/COFF/Inputs/hello32.yaml
lld/trunk/test/COFF/Inputs/import.yaml
lld/trunk/test/COFF/Inputs/include1a.yaml
lld/trunk/test/COFF/Inputs/include1b.yaml
lld/trunk/test/COFF/Inputs/include1c.yaml
lld/trunk/test/COFF/Inputs/machine-x64.yaml
lld/trunk/test/COFF/Inputs/machine-x86.yaml
lld/trunk/test/COFF/Inputs/ret42.yaml
lld/trunk/test/COFF/alternatename.test
lld/trunk/test/COFF/ar-comdat.test
lld/trunk/test/COFF/armnt-blx23t.test
lld/trunk/test/COFF/armnt-branch24t.test
lld/trunk/test/COFF/armnt-imports.test
lld/trunk/test/COFF/armnt-mov32t-exec.test
lld/trunk/test/COFF/armnt-movt32t.test
lld/trunk/test/COFF/base.test
lld/trunk/test/COFF/baserel.test
lld/trunk/test/COFF/common.test
lld/trunk/test/COFF/conflict.test
lld/trunk/test/COFF/debug.test
lld/trunk/test/COFF/entry-inference.test
lld/trunk/test/COFF/entry-inference2.test
lld/trunk/test/COFF/entry-inference32.test
lld/trunk/test/COFF/entry-mangled.test
lld/trunk/test/COFF/export32.test
lld/trunk/test/COFF/force.test
lld/trunk/test/COFF/icf-circular.test
lld/trunk/test/COFF/icf-circular2.test
lld/trunk/test/COFF/icf-different-align.test
lld/trunk/test/COFF/icf-local.test
lld/trunk/test/COFF/icf-simple.test
lld/trunk/test/COFF/imports-mangle.test
lld/trunk/test/COFF/include.test
lld/trunk/test/COFF/internal.test
lld/trunk/test/COFF/invalid-obj.test
lld/trunk/test/COFF/loadcfg.test
lld/trunk/test/COFF/loadcfg32.test
lld/trunk/test/COFF/locally-imported.test
lld/trunk/test/COFF/locally-imported32.test
lld/trunk/test/COFF/long-section-name.test
lld/trunk/test/COFF/merge.test
lld/trunk/test/COFF/opt.test
lld/trunk/test/COFF/reloc-arm.test
lld/trunk/test/COFF/reloc-x64.test
lld/trunk/test/COFF/reloc-x86.test
lld/trunk/test/COFF/safeseh.test
lld/trunk/test/COFF/section.test
lld/trunk/test/COFF/seh.test
lld/trunk/test/COFF/sort-debug.test
lld/trunk/test/COFF/subsystem-inference.test
lld/trunk/test/COFF/symtab.test
lld/trunk/test/COFF/tls.test
lld/trunk/test/COFF/tls32.test
lld/trunk/test/COFF/unwind.test
lld/trunk/test/COFF/weak-external.test
lld/trunk/test/COFF/weak-external2.test
lld/trunk/test/COFF/weak-external3.test
lld/trunk/test/ELF/eh-frame-type.test
lld/trunk/test/ELF/invalid-relocations.test
lld/trunk/test/ELF/section-align-0.test
Modified: lld/trunk/test/COFF/Inputs/armnt-executable.obj.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/armnt-executable.obj.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/armnt-executable.obj.yaml (original)
+++ lld/trunk/test/COFF/Inputs/armnt-executable.obj.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/export.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/export.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/export.yaml (original)
+++ lld/trunk/test/COFF/Inputs/export.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/export2.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/export2.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/export2.yaml (original)
+++ lld/trunk/test/COFF/Inputs/export2.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/hello32.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/hello32.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/hello32.yaml (original)
+++ lld/trunk/test/COFF/Inputs/hello32.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/import.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/import.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/import.yaml (original)
+++ lld/trunk/test/COFF/Inputs/import.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/include1a.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/include1a.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/include1a.yaml (original)
+++ lld/trunk/test/COFF/Inputs/include1a.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/include1b.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/include1b.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/include1b.yaml (original)
+++ lld/trunk/test/COFF/Inputs/include1b.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/include1c.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/include1c.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/include1c.yaml (original)
+++ lld/trunk/test/COFF/Inputs/include1c.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/machine-x64.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/machine-x64.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/machine-x64.yaml (original)
+++ lld/trunk/test/COFF/Inputs/machine-x64.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/machine-x86.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/machine-x86.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/machine-x86.yaml (original)
+++ lld/trunk/test/COFF/Inputs/machine-x86.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/Inputs/ret42.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/ret42.yaml?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/ret42.yaml (original)
+++ lld/trunk/test/COFF/Inputs/ret42.yaml Mon Jun 27 15:17:08 2016
@@ -1,4 +1,4 @@
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/alternatename.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/alternatename.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/alternatename.test (original)
+++ lld/trunk/test/COFF/alternatename.test Mon Jun 27 15:17:08 2016
@@ -10,7 +10,7 @@
# RUN: yaml2obj < %s > %t.obj
# RUN: lld-link /entry:foo /subsystem:console /out:%t.exe %t.obj
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/ar-comdat.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/ar-comdat.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/ar-comdat.test (original)
+++ lld/trunk/test/COFF/ar-comdat.test Mon Jun 27 15:17:08 2016
@@ -6,7 +6,7 @@
# CHECK-NOT: .lib
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
Modified: lld/trunk/test/COFF/armnt-blx23t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-blx23t.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-blx23t.test (original)
+++ lld/trunk/test/COFF/armnt-blx23t.test Mon Jun 27 15:17:08 2016
@@ -25,7 +25,7 @@
# AFTER: 1010: 01 30 adds r0, #1
# AFTER: 1012: bd e8 00 88 pop.w {r11, pc}
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: [ ]
Modified: lld/trunk/test/COFF/armnt-branch24t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-branch24t.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-branch24t.test (original)
+++ lld/trunk/test/COFF/armnt-branch24t.test Mon Jun 27 15:17:08 2016
@@ -18,7 +18,7 @@
# AFTER: 1004: 20 20 movs r0, #32
# AFTER: 1006: ff f7 fb bf b.w #-10
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: []
Modified: lld/trunk/test/COFF/armnt-imports.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-imports.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-imports.test (original)
+++ lld/trunk/test/COFF/armnt-imports.test Mon Jun 27 15:17:08 2016
@@ -10,7 +10,7 @@
# CHECK: Symbol: function (0)
# CHECK: }
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: [ ]
Modified: lld/trunk/test/COFF/armnt-mov32t-exec.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-mov32t-exec.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-mov32t-exec.test (original)
+++ lld/trunk/test/COFF/armnt-mov32t-exec.test Mon Jun 27 15:17:08 2016
@@ -19,7 +19,7 @@
# AFTER: 1008: c0 f2 40 00 movt r0, #64
# AFTER: 100c: 70 47 bx lr
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: [ ]
Modified: lld/trunk/test/COFF/armnt-movt32t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-movt32t.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-movt32t.test (original)
+++ lld/trunk/test/COFF/armnt-movt32t.test Mon Jun 27 15:17:08 2016
@@ -15,7 +15,7 @@
# AFTER: 4: c0 f2 40 00 movt r0, #64
# AFTER: 8: 70 47 bx lr
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: [ ]
Modified: lld/trunk/test/COFF/base.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/base.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/base.test (original)
+++ lld/trunk/test/COFF/base.test Mon Jun 27 15:17:08 2016
@@ -16,7 +16,7 @@
# BASE-TEXT: Contents of section .text:
# BASE-TEXT-NEXT: 1000 00000080 02000000
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/baserel.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/baserel.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/baserel.test (original)
+++ lld/trunk/test/COFF/baserel.test Mon Jun 27 15:17:08 2016
@@ -72,7 +72,7 @@
# BASEREL-HEADER-NEXT: IMAGE_SCN_MEM_READ (0x40000000)
# BASEREL-HEADER-NEXT: ]
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/common.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/common.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/common.test (original)
+++ lld/trunk/test/COFF/common.test Mon Jun 27 15:17:08 2016
@@ -9,7 +9,7 @@
# CHECK: 300f: b8 60 10 00 40
# CHECK: 3014: b8 80 10 00 40
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/conflict.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/conflict.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/conflict.test (original)
+++ lld/trunk/test/COFF/conflict.test Mon Jun 27 15:17:08 2016
@@ -10,7 +10,7 @@
# CHECK: duplicate symbol: foo {{.+}}1.obj and foo {{.+}}2.obj
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/debug.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/debug.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/debug.test (original)
+++ lld/trunk/test/COFF/debug.test Mon Jun 27 15:17:08 2016
@@ -1,7 +1,7 @@
# RUN: yaml2obj %s > %t.obj
# RUN: lld-link /out:%t.exe /entry:main /subsystem:console %t.obj
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/entry-inference.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/entry-inference.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/entry-inference.test (original)
+++ lld/trunk/test/COFF/entry-inference.test Mon Jun 27 15:17:08 2016
@@ -19,7 +19,7 @@
# WINMAIN: <root>: undefined symbol: WinMainCRTStartup
# WWINMAIN: <root>: undefined symbol: wWinMainCRTStartup
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/entry-inference2.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/entry-inference2.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/entry-inference2.test (original)
+++ lld/trunk/test/COFF/entry-inference2.test Mon Jun 27 15:17:08 2016
@@ -4,7 +4,7 @@
# CHECK: Entry name inferred: WinMainCRTStartup
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/entry-inference32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/entry-inference32.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/entry-inference32.test (original)
+++ lld/trunk/test/COFF/entry-inference32.test Mon Jun 27 15:17:08 2016
@@ -4,7 +4,7 @@
# CHECK: Entry name inferred: _WinMainCRTStartup
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/entry-mangled.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/entry-mangled.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/entry-mangled.test (original)
+++ lld/trunk/test/COFF/entry-mangled.test Mon Jun 27 15:17:08 2016
@@ -3,7 +3,7 @@
# RUN: llvm-as -o %t.lto.obj %S/Inputs/entry-mangled.ll
# RUN: lld-link /out:%t.exe /entry:main %t.lto.obj
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/export32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/export32.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/export32.test (original)
+++ lld/trunk/test/COFF/export32.test Mon Jun 27 15:17:08 2016
@@ -74,7 +74,7 @@
# CHECK6: duplicate /export option: _exportfn2
# CHECK6-NOT: duplicate /export option: _exportfn1
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/force.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/force.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/force.test (original)
+++ lld/trunk/test/COFF/force.test Mon Jun 27 15:17:08 2016
@@ -6,7 +6,7 @@
# CHECK: .obj: undefined symbol: foo
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/icf-circular.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/icf-circular.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/icf-circular.test (original)
+++ lld/trunk/test/COFF/icf-circular.test Mon Jun 27 15:17:08 2016
@@ -6,7 +6,7 @@
# CHECK: Selected foo
# CHECK: Removed bar
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/icf-circular2.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/icf-circular2.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/icf-circular2.test (original)
+++ lld/trunk/test/COFF/icf-circular2.test Mon Jun 27 15:17:08 2016
@@ -6,7 +6,7 @@
# CHECK: Selected foo
# CHECK: Removed bar
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/icf-different-align.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/icf-different-align.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/icf-different-align.test (original)
+++ lld/trunk/test/COFF/icf-different-align.test Mon Jun 27 15:17:08 2016
@@ -6,7 +6,7 @@
# CHECK-NOT: Selected foo
# CHECK-NOT: Removed bar
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/icf-local.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/icf-local.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/icf-local.test (original)
+++ lld/trunk/test/COFF/icf-local.test Mon Jun 27 15:17:08 2016
@@ -8,7 +8,7 @@
# CHECK-NOT: Removed bar
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/icf-simple.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/icf-simple.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/icf-simple.test (original)
+++ lld/trunk/test/COFF/icf-simple.test Mon Jun 27 15:17:08 2016
@@ -16,7 +16,7 @@
# NOICF-NOT: Removed foo
# NOICF-NOT: Removed bar
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/imports-mangle.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/imports-mangle.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/imports-mangle.test (original)
+++ lld/trunk/test/COFF/imports-mangle.test Mon Jun 27 15:17:08 2016
@@ -10,7 +10,7 @@
# CHECK: Symbol: (2)
# CHECK: }
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/include.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/include.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/include.test (original)
+++ lld/trunk/test/COFF/include.test Mon Jun 27 15:17:08 2016
@@ -14,7 +14,7 @@
# CHECK2-NOT: Discarded unused
# CHECK2-NOT: Discarded used
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/internal.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/internal.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/internal.test (original)
+++ lld/trunk/test/COFF/internal.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t3.obj
# RUN: lld-link /out:%t.exe /entry:main %t1.obj %t2.obj %t3.obj
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/invalid-obj.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/invalid-obj.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/invalid-obj.test (original)
+++ lld/trunk/test/COFF/invalid-obj.test Mon Jun 27 15:17:08 2016
@@ -3,7 +3,7 @@
# CHECK: getSectionName failed: #1:
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/loadcfg.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/loadcfg.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/loadcfg.test (original)
+++ lld/trunk/test/COFF/loadcfg.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# CHECK: LoadConfigTableRVA: 0x1000
# CHECK: LoadConfigTableSize: 0x70
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/loadcfg32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/loadcfg32.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/loadcfg32.test (original)
+++ lld/trunk/test/COFF/loadcfg32.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# CHECK: LoadConfigTableRVA: 0x1000
# CHECK: LoadConfigTableSize: 0x40
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/locally-imported.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/locally-imported.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/locally-imported.test (original)
+++ lld/trunk/test/COFF/locally-imported.test Mon Jun 27 15:17:08 2016
@@ -19,7 +19,7 @@
# BASEREL-NEXT: }
# BASEREL-NEXT: ]
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/locally-imported32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/locally-imported32.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/locally-imported32.test (original)
+++ lld/trunk/test/COFF/locally-imported32.test Mon Jun 27 15:17:08 2016
@@ -8,7 +8,7 @@
# CHECK: Contents of section .rdata:
# CHECK-NEXT: 2000 04104000
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/long-section-name.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/long-section-name.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/long-section-name.test (original)
+++ lld/trunk/test/COFF/long-section-name.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# CHECK: Name: .data_long_section_name
# CHECK: Name: .text_long_section_name
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
Modified: lld/trunk/test/COFF/merge.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/merge.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/merge.test (original)
+++ lld/trunk/test/COFF/merge.test Mon Jun 27 15:17:08 2016
@@ -6,7 +6,7 @@
# CHECK: Name: .def
# CHECK: Name: .abc
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/opt.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/opt.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/opt.test (original)
+++ lld/trunk/test/COFF/opt.test Mon Jun 27 15:17:08 2016
@@ -14,7 +14,7 @@
# CHECK1: Discarded unused
# CHECK2-NOT: Discarded unused
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/reloc-arm.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/reloc-arm.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/reloc-arm.test (original)
+++ lld/trunk/test/COFF/reloc-arm.test Mon Jun 27 15:17:08 2016
@@ -11,7 +11,7 @@
# CHECK: 402050 fe07d62f 00000000 00000000 00000000
# CHECK: 402060 00000000 00000000 00000000 00000000
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: []
Modified: lld/trunk/test/COFF/reloc-x64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/reloc-x64.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/reloc-x64.test (original)
+++ lld/trunk/test/COFF/reloc-x64.test Mon Jun 27 15:17:08 2016
@@ -15,7 +15,7 @@
# CHECK: 1051: a1 02 00 00 00 00 00 00 00
# CHECK: 105a: a1 03 00 00 00 00 00 00 00
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/reloc-x86.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/reloc-x86.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/reloc-x86.test (original)
+++ lld/trunk/test/COFF/reloc-x86.test Mon Jun 27 15:17:08 2016
@@ -10,7 +10,7 @@
# CHECK: 1014: a1 00 00 02 00
# CHECK: 1019: a1 03 00 00 00
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/safeseh.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/safeseh.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/safeseh.test (original)
+++ lld/trunk/test/COFF/safeseh.test Mon Jun 27 15:17:08 2016
@@ -8,7 +8,7 @@
# CHECK: /safeseh: {{.*}} is not compatible with SEH
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: [ ]
Modified: lld/trunk/test/COFF/section.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/section.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/section.test (original)
+++ lld/trunk/test/COFF/section.test Mon Jun 27 15:17:08 2016
@@ -31,7 +31,7 @@
# S-NEXT: IMAGE_SCN_MEM_SHARED
# S-NEXT: ]
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/seh.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/seh.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/seh.test (original)
+++ lld/trunk/test/COFF/seh.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# CHECK: Contents of section .rdata:
# CHECK: 1000 00200000 02200000
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: [ ]
Modified: lld/trunk/test/COFF/sort-debug.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/sort-debug.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/sort-debug.test (original)
+++ lld/trunk/test/COFF/sort-debug.test Mon Jun 27 15:17:08 2016
@@ -11,7 +11,7 @@
# CHECK: Name: .reloc
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: [ ]
Modified: lld/trunk/test/COFF/subsystem-inference.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/subsystem-inference.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/subsystem-inference.test (original)
+++ lld/trunk/test/COFF/subsystem-inference.test Mon Jun 27 15:17:08 2016
@@ -19,7 +19,7 @@
# WINMAIN: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI
# WWINMAIN: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/symtab.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/symtab.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/symtab.test (original)
+++ lld/trunk/test/COFF/symtab.test Mon Jun 27 15:17:08 2016
@@ -111,7 +111,7 @@
# NO: Symbols [
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/tls.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/tls.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/tls.test (original)
+++ lld/trunk/test/COFF/tls.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# CHECK: TLSTableRVA: 0x1000
# CHECK: TLSTableSize: 0x28
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
Modified: lld/trunk/test/COFF/tls32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/tls32.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/tls32.test (original)
+++ lld/trunk/test/COFF/tls32.test Mon Jun 27 15:17:08 2016
@@ -5,7 +5,7 @@
# CHECK: TLSTableRVA: 0x1000
# CHECK: TLSTableSize: 0x18
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
Modified: lld/trunk/test/COFF/unwind.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/unwind.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/unwind.test (original)
+++ lld/trunk/test/COFF/unwind.test Mon Jun 27 15:17:08 2016
@@ -55,7 +55,7 @@
# UNWIND: 0x07: UOP_AllocLarge 8190
# UNWIND: 0x00: UOP_PushMachFrame w/o error code
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
Modified: lld/trunk/test/COFF/weak-external.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/weak-external.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/weak-external.test (original)
+++ lld/trunk/test/COFF/weak-external.test Mon Jun 27 15:17:08 2016
@@ -8,7 +8,7 @@
# CHECK-NOT: :
# CHECK: {{ g$}}
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
Modified: lld/trunk/test/COFF/weak-external2.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/weak-external2.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/weak-external2.test (original)
+++ lld/trunk/test/COFF/weak-external2.test Mon Jun 27 15:17:08 2016
@@ -2,7 +2,7 @@
# RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external2.ll
# RUN: lld-link /out:%t.exe /entry:g /subsystem:console %t.obj %t.lto.obj
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
Modified: lld/trunk/test/COFF/weak-external3.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/weak-external3.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/COFF/weak-external3.test (original)
+++ lld/trunk/test/COFF/weak-external3.test Mon Jun 27 15:17:08 2016
@@ -13,7 +13,7 @@
# CHECK2-NOT: :
# CHECK2: {{ f$}}
----
+--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
Modified: lld/trunk/test/ELF/eh-frame-type.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/eh-frame-type.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/ELF/eh-frame-type.test (original)
+++ lld/trunk/test/ELF/eh-frame-type.test Mon Jun 27 15:17:08 2016
@@ -1,10 +1,11 @@
-# RUN: yaml2obj -format elf %s -o %t.o
+# RUN: yaml2obj %s -o %t.o
# RUN: ld.lld %t.o -o %t -shared
# RUN: llvm-readobj -s %t | FileCheck %s
# CHECK: Name: .eh_frame
# CHECK-NEXT: Type: SHT_PROGBITS
+!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Modified: lld/trunk/test/ELF/invalid-relocations.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid-relocations.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid-relocations.test (original)
+++ lld/trunk/test/ELF/invalid-relocations.test Mon Jun 27 15:17:08 2016
@@ -1,6 +1,7 @@
-# RUN: yaml2obj -format elf %s -o %t
+# RUN: yaml2obj %s -o %t
# RUN: not ld.lld %t -o %tout 2>&1 | FileCheck %s
+!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Modified: lld/trunk/test/ELF/section-align-0.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/section-align-0.test?rev=273920&r1=273919&r2=273920&view=diff
==============================================================================
--- lld/trunk/test/ELF/section-align-0.test (original)
+++ lld/trunk/test/ELF/section-align-0.test Mon Jun 27 15:17:08 2016
@@ -1,8 +1,9 @@
-# RUN: yaml2obj -format elf %s -o %t
+# RUN: yaml2obj %s -o %t
# RUN: ld.lld %t -o %tout
# Verify that lld can handle sections with an alignment of zero.
+!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
More information about the llvm-commits
mailing list