aboutsummaryrefslogtreecommitdiff
path: root/test/core
diff options
context:
space:
mode:
Diffstat (limited to 'test/core')
-rw-r--r--test/core/Inputs/archive-basic.objtxt21
-rw-r--r--test/core/Inputs/archive-chain.objtxt24
-rw-r--r--test/core/Inputs/archive-chain2.objtxt21
-rw-r--r--test/core/Inputs/archive-tentdef-search.objtxt11
-rw-r--r--test/core/Inputs/associates.objtxt8
-rw-r--r--test/core/Inputs/auto-hide-coalesce.objtxt20
-rw-r--r--test/core/Inputs/code-model-attributes.objtxt4
-rw-r--r--test/core/Inputs/code-model-attributes2.objtxt4
-rw-r--r--test/core/Inputs/code-model-attributes3.objtxt4
-rw-r--r--test/core/Inputs/code-model-attributes4.objtxt4
-rw-r--r--test/core/Inputs/code-model-attributes5.objtxt4
-rw-r--r--test/core/Inputs/constants-coalesce.objtxt9
-rw-r--r--test/core/Inputs/constants-coalesce2.objtxt10
-rw-r--r--test/core/Inputs/cstring-coalesce.objtxt6
-rw-r--r--test/core/Inputs/cstring-coalesce2.objtxt6
-rw-r--r--test/core/Inputs/custom-section-coalesce.objtxt15
-rw-r--r--test/core/Inputs/custom-section-coalesce2.objtxt13
-rw-r--r--test/core/Inputs/dead-strip-attributes.objtxt4
-rw-r--r--test/core/Inputs/dead-strip-attributes2.objtxt4
-rw-r--r--test/core/Inputs/dead-strip-basic.objtxt9
-rw-r--r--test/core/Inputs/dead-strip-basic2.objtxt8
-rw-r--r--test/core/Inputs/dead-strip-globals.objtxt9
-rw-r--r--test/core/Inputs/dead-strip-globals2.objtxt8
-rw-r--r--test/core/Inputs/error-duplicate-absolutes.objtxt5
-rw-r--r--test/core/Inputs/gnulinkonce-rearrange-resolve.objtxt26
-rw-r--r--test/core/Inputs/gnulinkonce-remaining-undef.objtxt34
-rw-r--r--test/core/Inputs/gnulinkonce-remaining-undef2.objtxt4
-rw-r--r--test/core/Inputs/gnulinkonce-resolve.objtxt25
-rw-r--r--test/core/Inputs/gnulinkonce-simple.objtxt4
-rw-r--r--test/core/Inputs/inline-coalesce.objtxt6
-rw-r--r--test/core/Inputs/inline-coalesce2.objtxt6
-rw-r--r--test/core/Inputs/multiple-def-error.objtxt5
-rw-r--r--test/core/Inputs/sectiongroup-deadstrip.objtxt3
-rw-r--r--test/core/Inputs/sectiongroup-gnulinkonce-error.objtxt26
-rw-r--r--test/core/Inputs/sectiongroup-rearrange-resolve.objtxt25
-rw-r--r--test/core/Inputs/sectiongroup-remaining-undef.objtxt34
-rw-r--r--test/core/Inputs/sectiongroup-remaining-undef2.objtxt4
-rw-r--r--test/core/Inputs/sectiongroup-resolve.objtxt26
-rw-r--r--test/core/Inputs/sectiongroup-simple.objtxt4
-rw-r--r--test/core/Inputs/shared-library-coalesce.objtxt28
-rw-r--r--test/core/Inputs/tent-merge.objtxt6
-rw-r--r--test/core/Inputs/undef-coalesce-error.objtxt8
-rw-r--r--test/core/Inputs/undef-coalesce-error2.objtxt8
-rw-r--r--test/core/Inputs/undef-coalesce.objtxt8
-rw-r--r--test/core/Inputs/undef-coalesce2.objtxt8
-rw-r--r--test/core/Inputs/undef-fallback.objtxt7
-rw-r--r--test/core/Inputs/undef-weak-coalesce.objtxt20
-rw-r--r--test/core/Inputs/weak-coalesce.objtxt5
-rw-r--r--test/core/Inputs/weak-coalesce2.objtxt6
-rw-r--r--test/core/absolute-basic.objtxt23
-rw-r--r--test/core/absolute-local.objtxt25
-rw-r--r--test/core/archive-basic.objtxt23
-rw-r--r--test/core/archive-chain.objtxt23
-rw-r--r--test/core/archive-tentdef-search.objtxt30
-rw-r--r--test/core/associates.objtxt21
-rw-r--r--test/core/auto-hide-coalesce.objtxt39
-rw-r--r--test/core/code-model-attributes.objtxt33
-rw-r--r--test/core/constants-coalesce.objtxt42
-rw-r--r--test/core/cstring-coalesce.objtxt29
-rw-r--r--test/core/custom-section-coalesce.objtxt50
-rw-r--r--test/core/custom-section.objtxt34
-rw-r--r--test/core/dead-strip-attributes.objtxt22
-rw-r--r--test/core/dead-strip-basic.objtxt45
-rw-r--r--test/core/dead-strip-globals.objtxt43
-rw-r--r--test/core/dead-strip-reverse.objtxt25
-rw-r--r--test/core/error-atom-attribute.objtxt19
-rw-r--r--test/core/error-atom-content-byte-value.objtxt18
-rw-r--r--test/core/error-atom-content-bytes.objtxt19
-rw-r--r--test/core/error-atom-type.objtxt19
-rw-r--r--test/core/error-atom-undefined-wrong-attribue.objtxt17
-rw-r--r--test/core/error-duplicate-absolutes.objtxt19
-rw-r--r--test/core/error-file-attribute.objtxt17
-rw-r--r--test/core/error-fixup-attribute.objtxt21
-rw-r--r--test/core/error-fixup-target.objtxt26
-rw-r--r--test/core/fixups-addend.objtxt50
-rw-r--r--test/core/fixups-dup-named.objtxt31
-rw-r--r--test/core/fixups-named.objtxt36
-rw-r--r--test/core/fixups-unnamed.objtxt40
-rw-r--r--test/core/gnulinkonce-rearrange-resolve.objtxt53
-rw-r--r--test/core/gnulinkonce-remaining-undef.objtxt43
-rw-r--r--test/core/gnulinkonce-resolve.objtxt63
-rw-r--r--test/core/gnulinkonce-simple.objtxt76
-rw-r--r--test/core/inline-coalesce.objtxt19
-rw-r--r--test/core/multiple-def-error.objtxt14
-rw-r--r--test/core/permissions.objtxt57
-rw-r--r--test/core/sectiongroup-deadstrip.objtxt84
-rw-r--r--test/core/sectiongroup-gnulinkonce-error.objtxt38
-rw-r--r--test/core/sectiongroup-rearrange-resolve.objtxt53
-rw-r--r--test/core/sectiongroup-remaining-undef.objtxt42
-rw-r--r--test/core/sectiongroup-resolve.objtxt64
-rw-r--r--test/core/sectiongroup-simple.objtxt76
-rw-r--r--test/core/shared-library-basic.objtxt40
-rw-r--r--test/core/shared-library-coalesce.objtxt55
-rw-r--r--test/core/tent-merge.objtxt19
-rw-r--r--test/core/undef-coalesce-error.objtxt31
-rw-r--r--test/core/undef-coalesce.objtxt26
-rw-r--r--test/core/undef-fallback.objtxt29
-rw-r--r--test/core/undef-weak-coalesce.objtxt52
-rw-r--r--test/core/weak-coalesce.objtxt16
99 files changed, 0 insertions, 2356 deletions
diff --git a/test/core/Inputs/archive-basic.objtxt b/test/core/Inputs/archive-basic.objtxt
deleted file mode 100644
index ecfdacd0b6dd1..0000000000000
--- a/test/core/Inputs/archive-basic.objtxt
+++ /dev/null
@@ -1,21 +0,0 @@
---- !archive
-members:
- - name: bar.o
- content: !native
- defined-atoms:
- - name: bar
- scope: global
- type: code
-
- - name: bar2
- type: code
-
- - name: baz.o
- content: !native
- defined-atoms:
- - name: baz
- scope: global
- type: code
-
- - name: baz2
- type: code
diff --git a/test/core/Inputs/archive-chain.objtxt b/test/core/Inputs/archive-chain.objtxt
deleted file mode 100644
index d3cc17137c18e..0000000000000
--- a/test/core/Inputs/archive-chain.objtxt
+++ /dev/null
@@ -1,24 +0,0 @@
---- !archive
-members:
- - name: bar1.o
- content: !native
- defined-atoms:
- - name: bar1
- scope: global
- type: code
-
- - name: bar1b
- type: code
-
- undefined-atoms:
- - name: baz1
-
- - name: bar2.o
- content: !native
- defined-atoms:
- - name: bar2
- scope: global
- type: code
-
- - name: bar2b
- type: code
diff --git a/test/core/Inputs/archive-chain2.objtxt b/test/core/Inputs/archive-chain2.objtxt
deleted file mode 100644
index aed6b1b959e1f..0000000000000
--- a/test/core/Inputs/archive-chain2.objtxt
+++ /dev/null
@@ -1,21 +0,0 @@
---- !archive
-members:
- - name: baz1.o
- content: !native
- defined-atoms:
- - name: baz1
- scope: global
- type: code
-
- - name: baz1b
- type: code
-
- - name: baz2.o
- content: !native
- defined-atoms:
- - name: baz2
- scope: global
- type: code
-
- - name: baz2b
- type: code
diff --git a/test/core/Inputs/archive-tentdef-search.objtxt b/test/core/Inputs/archive-tentdef-search.objtxt
deleted file mode 100644
index 70219aac7a6d1..0000000000000
--- a/test/core/Inputs/archive-tentdef-search.objtxt
+++ /dev/null
@@ -1,11 +0,0 @@
---- !archive
-members:
- - name: bar.o
- content: !native
- defined-atoms:
- - name: bar
- scope: global
- type: data
-
- - name: bar2
- type: data
diff --git a/test/core/Inputs/associates.objtxt b/test/core/Inputs/associates.objtxt
deleted file mode 100644
index 29d028c27edcd..0000000000000
--- a/test/core/Inputs/associates.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
-defined-atoms:
- - name: f1
- merge: as-weak
- scope: global
- references:
- - kind: associate
- target: f2
- - name: f2
diff --git a/test/core/Inputs/auto-hide-coalesce.objtxt b/test/core/Inputs/auto-hide-coalesce.objtxt
deleted file mode 100644
index d82d0f41c4f4a..0000000000000
--- a/test/core/Inputs/auto-hide-coalesce.objtxt
+++ /dev/null
@@ -1,20 +0,0 @@
-defined-atoms:
- - name: _inlineFunc1
- scope: global
- type: code
- merge: as-weak
-
- - name: _inlineFunc2
- scope: global
- type: code
- merge: as-addressed-weak
-
- - name: _inlineFunc3
- scope: global
- type: code
- merge: as-weak
-
- - name: _inlineFunc4
- scope: global
- type: code
- merge: as-addressed-weak
diff --git a/test/core/Inputs/code-model-attributes.objtxt b/test/core/Inputs/code-model-attributes.objtxt
deleted file mode 100644
index 7c01a0d57f365..0000000000000
--- a/test/core/Inputs/code-model-attributes.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _none
- code-model: none
diff --git a/test/core/Inputs/code-model-attributes2.objtxt b/test/core/Inputs/code-model-attributes2.objtxt
deleted file mode 100644
index 92df88c7b0eae..0000000000000
--- a/test/core/Inputs/code-model-attributes2.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _mips_pic
- code-model: mips-pic
diff --git a/test/core/Inputs/code-model-attributes3.objtxt b/test/core/Inputs/code-model-attributes3.objtxt
deleted file mode 100644
index 8f2ced14f10c2..0000000000000
--- a/test/core/Inputs/code-model-attributes3.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _mips_micro
- code-model: mips-micro
diff --git a/test/core/Inputs/code-model-attributes4.objtxt b/test/core/Inputs/code-model-attributes4.objtxt
deleted file mode 100644
index 160c9a00c3da4..0000000000000
--- a/test/core/Inputs/code-model-attributes4.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _mips_micro_pic
- code-model: mips-micro-pic
diff --git a/test/core/Inputs/code-model-attributes5.objtxt b/test/core/Inputs/code-model-attributes5.objtxt
deleted file mode 100644
index 99bdb54e09bba..0000000000000
--- a/test/core/Inputs/code-model-attributes5.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _mips_16
- code-model: mips-16
diff --git a/test/core/Inputs/constants-coalesce.objtxt b/test/core/Inputs/constants-coalesce.objtxt
deleted file mode 100644
index ea3436f9ee289..0000000000000
--- a/test/core/Inputs/constants-coalesce.objtxt
+++ /dev/null
@@ -1,9 +0,0 @@
----
-defined-atoms:
- - ref-name: L1
- type: constant
- content: [ 01, 02 ]
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
diff --git a/test/core/Inputs/constants-coalesce2.objtxt b/test/core/Inputs/constants-coalesce2.objtxt
deleted file mode 100644
index c8f10f414f87a..0000000000000
--- a/test/core/Inputs/constants-coalesce2.objtxt
+++ /dev/null
@@ -1,10 +0,0 @@
----
-defined-atoms:
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 23, 45, 67, 89, AB, CD, EF ]
- - ref-name: L3
- type: constant
- merge: by-content
- content: [ 01, 02, 03 ]
diff --git a/test/core/Inputs/cstring-coalesce.objtxt b/test/core/Inputs/cstring-coalesce.objtxt
deleted file mode 100644
index d2e6327cf20c2..0000000000000
--- a/test/core/Inputs/cstring-coalesce.objtxt
+++ /dev/null
@@ -1,6 +0,0 @@
----
-defined-atoms:
- - ref-name: L2
- type: c-string
- merge: by-content
- content: [ 68, 65, 6c, 6c, 6f, 00 ]
diff --git a/test/core/Inputs/cstring-coalesce2.objtxt b/test/core/Inputs/cstring-coalesce2.objtxt
deleted file mode 100644
index 76dedf7cf3bd8..0000000000000
--- a/test/core/Inputs/cstring-coalesce2.objtxt
+++ /dev/null
@@ -1,6 +0,0 @@
----
-defined-atoms:
- - ref-name: L2
- type: c-string
- merge: by-content
- content: [ 74, 68, 65, 72, 65, 00 ]
diff --git a/test/core/Inputs/custom-section-coalesce.objtxt b/test/core/Inputs/custom-section-coalesce.objtxt
deleted file mode 100644
index de3efe339aaee..0000000000000
--- a/test/core/Inputs/custom-section-coalesce.objtxt
+++ /dev/null
@@ -1,15 +0,0 @@
----
-defined-atoms:
- - ref-name: L1
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
- section-choice: custom-required
- section-name: .mysection
-
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
- section-choice: custom-required
- section-name: .mysection2
diff --git a/test/core/Inputs/custom-section-coalesce2.objtxt b/test/core/Inputs/custom-section-coalesce2.objtxt
deleted file mode 100644
index 3e8356f0c7eec..0000000000000
--- a/test/core/Inputs/custom-section-coalesce2.objtxt
+++ /dev/null
@@ -1,13 +0,0 @@
----
-defined-atoms:
- - ref-name: L1
- type: constant
- merge: by-content
- content: [ 05, 06, 07, 08 ]
- section-choice: custom-required
- section-name: .mysection
-
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
diff --git a/test/core/Inputs/dead-strip-attributes.objtxt b/test/core/Inputs/dead-strip-attributes.objtxt
deleted file mode 100644
index 06a71485dcd56..0000000000000
--- a/test/core/Inputs/dead-strip-attributes.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _foo2
- dead-strip: never
diff --git a/test/core/Inputs/dead-strip-attributes2.objtxt b/test/core/Inputs/dead-strip-attributes2.objtxt
deleted file mode 100644
index 3dd55c46cd920..0000000000000
--- a/test/core/Inputs/dead-strip-attributes2.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-defined-atoms:
- - name: _foo3
- dead-strip: always
diff --git a/test/core/Inputs/dead-strip-basic.objtxt b/test/core/Inputs/dead-strip-basic.objtxt
deleted file mode 100644
index 05cb81bbcf949..0000000000000
--- a/test/core/Inputs/dead-strip-basic.objtxt
+++ /dev/null
@@ -1,9 +0,0 @@
----
-defined-atoms:
- - name: mydead2
- scope: global
- type: data
-
- - name: bar
- scope: global
- type: data
diff --git a/test/core/Inputs/dead-strip-basic2.objtxt b/test/core/Inputs/dead-strip-basic2.objtxt
deleted file mode 100644
index 6b0b01aef6424..0000000000000
--- a/test/core/Inputs/dead-strip-basic2.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
----
-defined-atoms:
- - name: baz
- scope: global
- type: code
-
- - name: mydead3
- type: code
diff --git a/test/core/Inputs/dead-strip-globals.objtxt b/test/core/Inputs/dead-strip-globals.objtxt
deleted file mode 100644
index fbf2ba6d1da30..0000000000000
--- a/test/core/Inputs/dead-strip-globals.objtxt
+++ /dev/null
@@ -1,9 +0,0 @@
----
-defined-atoms:
- - name: myglobal2
- scope: global
- type: data
-
- - name: bar
- scope: hidden
- type: data
diff --git a/test/core/Inputs/dead-strip-globals2.objtxt b/test/core/Inputs/dead-strip-globals2.objtxt
deleted file mode 100644
index a314bbe5ae41d..0000000000000
--- a/test/core/Inputs/dead-strip-globals2.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
----
-defined-atoms:
- - name: baz
- scope: hidden
- type: code
-
- - name: mydead
- type: code
diff --git a/test/core/Inputs/error-duplicate-absolutes.objtxt b/test/core/Inputs/error-duplicate-absolutes.objtxt
deleted file mode 100644
index 2b99aa37848a3..0000000000000
--- a/test/core/Inputs/error-duplicate-absolutes.objtxt
+++ /dev/null
@@ -1,5 +0,0 @@
----
-absolute-atoms:
- - name: absatom
- value: 0
- scope: global
diff --git a/test/core/Inputs/gnulinkonce-rearrange-resolve.objtxt b/test/core/Inputs/gnulinkonce-rearrange-resolve.objtxt
deleted file mode 100644
index e1fa42a24a522..0000000000000
--- a/test/core/Inputs/gnulinkonce-rearrange-resolve.objtxt
+++ /dev/null
@@ -1,26 +0,0 @@
----
-defined-atoms:
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
diff --git a/test/core/Inputs/gnulinkonce-remaining-undef.objtxt b/test/core/Inputs/gnulinkonce-remaining-undef.objtxt
deleted file mode 100644
index 02903a6b7bc5a..0000000000000
--- a/test/core/Inputs/gnulinkonce-remaining-undef.objtxt
+++ /dev/null
@@ -1,34 +0,0 @@
----
-defined-atoms:
- - name: anotherfunction
- scope: global
- type: data
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: f3
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: f3
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
diff --git a/test/core/Inputs/gnulinkonce-remaining-undef2.objtxt b/test/core/Inputs/gnulinkonce-remaining-undef2.objtxt
deleted file mode 100644
index 4991476c621cf..0000000000000
--- a/test/core/Inputs/gnulinkonce-remaining-undef2.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-undefined-atoms:
- - name: f3
- can-be-null: never
diff --git a/test/core/Inputs/gnulinkonce-resolve.objtxt b/test/core/Inputs/gnulinkonce-resolve.objtxt
deleted file mode 100644
index f4beb37fee2af..0000000000000
--- a/test/core/Inputs/gnulinkonce-resolve.objtxt
+++ /dev/null
@@ -1,25 +0,0 @@
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
diff --git a/test/core/Inputs/gnulinkonce-simple.objtxt b/test/core/Inputs/gnulinkonce-simple.objtxt
deleted file mode 100644
index 807f0d35802be..0000000000000
--- a/test/core/Inputs/gnulinkonce-simple.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-undefined-atoms:
- - name: f1
- can-be-null: never
diff --git a/test/core/Inputs/inline-coalesce.objtxt b/test/core/Inputs/inline-coalesce.objtxt
deleted file mode 100644
index 2eddee647c140..0000000000000
--- a/test/core/Inputs/inline-coalesce.objtxt
+++ /dev/null
@@ -1,6 +0,0 @@
----
-defined-atoms:
- - name: _inlineFunc
- scope: global
- type: code
- merge: as-weak
diff --git a/test/core/Inputs/inline-coalesce2.objtxt b/test/core/Inputs/inline-coalesce2.objtxt
deleted file mode 100644
index 2eddee647c140..0000000000000
--- a/test/core/Inputs/inline-coalesce2.objtxt
+++ /dev/null
@@ -1,6 +0,0 @@
----
-defined-atoms:
- - name: _inlineFunc
- scope: global
- type: code
- merge: as-weak
diff --git a/test/core/Inputs/multiple-def-error.objtxt b/test/core/Inputs/multiple-def-error.objtxt
deleted file mode 100644
index 8a1dcdb9c37f2..0000000000000
--- a/test/core/Inputs/multiple-def-error.objtxt
+++ /dev/null
@@ -1,5 +0,0 @@
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
diff --git a/test/core/Inputs/sectiongroup-deadstrip.objtxt b/test/core/Inputs/sectiongroup-deadstrip.objtxt
deleted file mode 100644
index 392f7ee968980..0000000000000
--- a/test/core/Inputs/sectiongroup-deadstrip.objtxt
+++ /dev/null
@@ -1,3 +0,0 @@
-undefined-atoms:
- - name: f1
- can-be-null: never
diff --git a/test/core/Inputs/sectiongroup-gnulinkonce-error.objtxt b/test/core/Inputs/sectiongroup-gnulinkonce-error.objtxt
deleted file mode 100644
index a365d37b66b5a..0000000000000
--- a/test/core/Inputs/sectiongroup-gnulinkonce-error.objtxt
+++ /dev/null
@@ -1,26 +0,0 @@
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
diff --git a/test/core/Inputs/sectiongroup-rearrange-resolve.objtxt b/test/core/Inputs/sectiongroup-rearrange-resolve.objtxt
deleted file mode 100644
index bcefee646ef45..0000000000000
--- a/test/core/Inputs/sectiongroup-rearrange-resolve.objtxt
+++ /dev/null
@@ -1,25 +0,0 @@
-defined-atoms:
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
diff --git a/test/core/Inputs/sectiongroup-remaining-undef.objtxt b/test/core/Inputs/sectiongroup-remaining-undef.objtxt
deleted file mode 100644
index 07c7af5dc67c3..0000000000000
--- a/test/core/Inputs/sectiongroup-remaining-undef.objtxt
+++ /dev/null
@@ -1,34 +0,0 @@
----
-defined-atoms:
- - name: anotherfunction
- scope: global
- type: data
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: f3
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: f3
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
diff --git a/test/core/Inputs/sectiongroup-remaining-undef2.objtxt b/test/core/Inputs/sectiongroup-remaining-undef2.objtxt
deleted file mode 100644
index 4991476c621cf..0000000000000
--- a/test/core/Inputs/sectiongroup-remaining-undef2.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-undefined-atoms:
- - name: f3
- can-be-null: never
diff --git a/test/core/Inputs/sectiongroup-resolve.objtxt b/test/core/Inputs/sectiongroup-resolve.objtxt
deleted file mode 100644
index a047ad33fe9c6..0000000000000
--- a/test/core/Inputs/sectiongroup-resolve.objtxt
+++ /dev/null
@@ -1,26 +0,0 @@
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
diff --git a/test/core/Inputs/sectiongroup-simple.objtxt b/test/core/Inputs/sectiongroup-simple.objtxt
deleted file mode 100644
index 807f0d35802be..0000000000000
--- a/test/core/Inputs/sectiongroup-simple.objtxt
+++ /dev/null
@@ -1,4 +0,0 @@
----
-undefined-atoms:
- - name: f1
- can-be-null: never
diff --git a/test/core/Inputs/shared-library-coalesce.objtxt b/test/core/Inputs/shared-library-coalesce.objtxt
deleted file mode 100644
index 57cdfe662d4c3..0000000000000
--- a/test/core/Inputs/shared-library-coalesce.objtxt
+++ /dev/null
@@ -1,28 +0,0 @@
----
-shared-library-atoms:
- - name: foo2
- load-name: libc.so
-
- - name: foo3
- load-name: libc.so
-
- - name: bar2
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: bar3
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: mismatchNull1
- load-name: libc.so
-
- - name: mismatchNull2
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: mismatchload1
- load-name: libb.so
-
- - name: mismatchload2
- load-name: liba.so
diff --git a/test/core/Inputs/tent-merge.objtxt b/test/core/Inputs/tent-merge.objtxt
deleted file mode 100644
index 90db8fd1f446f..0000000000000
--- a/test/core/Inputs/tent-merge.objtxt
+++ /dev/null
@@ -1,6 +0,0 @@
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
- content: [ 00, 00, 00, 00 ]
diff --git a/test/core/Inputs/undef-coalesce-error.objtxt b/test/core/Inputs/undef-coalesce-error.objtxt
deleted file mode 100644
index f493f00bdf1a8..0000000000000
--- a/test/core/Inputs/undef-coalesce-error.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
----
-defined-atoms:
- - name: bar
- type: code
-
-undefined-atoms:
- - name: malloc
- - name: myfunc
diff --git a/test/core/Inputs/undef-coalesce-error2.objtxt b/test/core/Inputs/undef-coalesce-error2.objtxt
deleted file mode 100644
index 88d736fc21116..0000000000000
--- a/test/core/Inputs/undef-coalesce-error2.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
----
-defined-atoms:
- - name: myfunc
- scope: global
- type: code
-
-undefined-atoms:
- - name: free
diff --git a/test/core/Inputs/undef-coalesce.objtxt b/test/core/Inputs/undef-coalesce.objtxt
deleted file mode 100644
index f493f00bdf1a8..0000000000000
--- a/test/core/Inputs/undef-coalesce.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
----
-defined-atoms:
- - name: bar
- type: code
-
-undefined-atoms:
- - name: malloc
- - name: myfunc
diff --git a/test/core/Inputs/undef-coalesce2.objtxt b/test/core/Inputs/undef-coalesce2.objtxt
deleted file mode 100644
index 88d736fc21116..0000000000000
--- a/test/core/Inputs/undef-coalesce2.objtxt
+++ /dev/null
@@ -1,8 +0,0 @@
----
-defined-atoms:
- - name: myfunc
- scope: global
- type: code
-
-undefined-atoms:
- - name: free
diff --git a/test/core/Inputs/undef-fallback.objtxt b/test/core/Inputs/undef-fallback.objtxt
deleted file mode 100644
index c392731805cd2..0000000000000
--- a/test/core/Inputs/undef-fallback.objtxt
+++ /dev/null
@@ -1,7 +0,0 @@
-defined-atoms:
- - name: fallback1
-
-undefined-atoms:
- - name: def1
- fallback:
- name: fallback3
diff --git a/test/core/Inputs/undef-weak-coalesce.objtxt b/test/core/Inputs/undef-weak-coalesce.objtxt
deleted file mode 100644
index 7a5e20fad0971..0000000000000
--- a/test/core/Inputs/undef-weak-coalesce.objtxt
+++ /dev/null
@@ -1,20 +0,0 @@
----
-undefined-atoms:
- - name: bar1
- can-be-null: never
- - name: bar2
- can-be-null: at-runtime
- - name: bar3
- can-be-null: at-buildtime
- - name: bar4
- can-be-null: at-runtime
- - name: bar5
- can-be-null: at-buildtime
- - name: bar6
- can-be-null: never
- - name: bar7
- can-be-null: at-buildtime
- - name: bar8
- can-be-null: never
- - name: bar9
- can-be-null: at-runtime
diff --git a/test/core/Inputs/weak-coalesce.objtxt b/test/core/Inputs/weak-coalesce.objtxt
deleted file mode 100644
index 8a1dcdb9c37f2..0000000000000
--- a/test/core/Inputs/weak-coalesce.objtxt
+++ /dev/null
@@ -1,5 +0,0 @@
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
diff --git a/test/core/Inputs/weak-coalesce2.objtxt b/test/core/Inputs/weak-coalesce2.objtxt
deleted file mode 100644
index 1039b309f8a4d..0000000000000
--- a/test/core/Inputs/weak-coalesce2.objtxt
+++ /dev/null
@@ -1,6 +0,0 @@
----
-defined-atoms:
- - name: _foo
- merge: as-weak
- scope: global
- type: data
diff --git a/test/core/absolute-basic.objtxt b/test/core/absolute-basic.objtxt
deleted file mode 100644
index edfbe8629b0df..0000000000000
--- a/test/core/absolute-basic.objtxt
+++ /dev/null
@@ -1,23 +0,0 @@
-# RUN: lld -core --dead-strip %s | FileCheck %s
-
-#
-# Test that absolute symbols are parsed and preserved
-#
-
----
-absolute-atoms:
- - name: putchar
- value: 0xFFFF0040
-
- - name: reset
- value: 0xFFFF0080
-
-...
-
-
-# CHECK: absolute-atoms:
-# CHECK: name: putchar
-# CHECK: value: 0x00000000FFFF0040
-# CHECK: name: reset
-# CHECK: value: 0x00000000FFFF0080
-# CHECK: ...
diff --git a/test/core/absolute-local.objtxt b/test/core/absolute-local.objtxt
deleted file mode 100644
index 1ba4c7f04326e..0000000000000
--- a/test/core/absolute-local.objtxt
+++ /dev/null
@@ -1,25 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that absolute symbols with local scope do not cause name conflict
-#
----
-absolute-atoms:
- - name: putchar
- ref-name: pc1
- value: 0xFFFF0040
- scope: static
-
- - name: putchar
- ref-name: pc2
- value: 0xFFFF0040
- scope: static
-...
-
-# CHECK: ---
-# CHECK: absolute-atoms:
-# CHECK: - name: putchar
-# CHECK: value: 0x00000000FFFF0040
-# CHECK: - name: putchar
-# CHECK: value: 0x00000000FFFF0040
-# CHECK: ...
diff --git a/test/core/archive-basic.objtxt b/test/core/archive-basic.objtxt
deleted file mode 100644
index 205e0a5034e5a..0000000000000
--- a/test/core/archive-basic.objtxt
+++ /dev/null
@@ -1,23 +0,0 @@
-# RUN: lld -core %s %p/Inputs/archive-basic.objtxt | FileCheck %s
-
-#
-# Tests archives in YAML. Tests that an undefined in a regular file will load
-# all atoms in select archive members.
-#
-
---- !native
-defined-atoms:
- - name: foo
- type: code
-
-undefined-atoms:
- - name: bar
-
-...
-
-# CHECK: name: foo
-# CHECK-NOT: undefined-atoms:
-# CHECK: name: bar
-# CHECK: name: bar2
-# CHECK-NOT: name: baz
-# CHECK: ...
diff --git a/test/core/archive-chain.objtxt b/test/core/archive-chain.objtxt
deleted file mode 100644
index 35417f0bdb680..0000000000000
--- a/test/core/archive-chain.objtxt
+++ /dev/null
@@ -1,23 +0,0 @@
-# RUN: lld -core %s %p/Inputs/archive-chain.objtxt %p/Inputs/archive-chain2.objtxt | FileCheck %s
-
-#
-# Tests that an undefine in one archive can force a load from another archive.
-#
-
---- !native
-defined-atoms:
- - name: foo
- type: code
-
-undefined-atoms:
- - name: bar1
-...
-
-# CHECK: name: foo
-# CHECK: name: bar1
-# CHECK: name: bar1b
-# CHECK-NOT: name: bar2
-# CHECK: name: baz1
-# CHECK: name: baz1b
-# CHECK-NOT: name: baz2
-# CHECK: ...
diff --git a/test/core/archive-tentdef-search.objtxt b/test/core/archive-tentdef-search.objtxt
deleted file mode 100644
index 230ab0bfd0de5..0000000000000
--- a/test/core/archive-tentdef-search.objtxt
+++ /dev/null
@@ -1,30 +0,0 @@
-# RUN: lld -core %s %p/Inputs/archive-tentdef-search.objtxt | FileCheck -check-prefix=CHK1 %s
-# RUN: lld -core --commons-search-archives %s %p/Inputs/archive-tentdef-search.objtxt | FileCheck -check-prefix=CHK2 %s
-
-#
-# Tests that -commons-search-archives cause core linker to look for overrides
-# of tentative definition in archives, and that not using that option
-# does not search.
-#
-
---- !native
-defined-atoms:
- - name: foo
- type: code
-
- - name: bar
- scope: global
- type: zero-fill
- merge: as-tentative
-...
-
-# CHK1: name: foo
-# CHK1: name: bar
-# CHK1: merge: as-tentative
-# CHK1: ...
-
-# CHK2: name: foo
-# CHK2: name: bar
-# CHK2-NOT: merge: as-tentative
-# CHK2: name: bar2
-# CHK2: ...
diff --git a/test/core/associates.objtxt b/test/core/associates.objtxt
deleted file mode 100644
index 5c711c97f9fad..0000000000000
--- a/test/core/associates.objtxt
+++ /dev/null
@@ -1,21 +0,0 @@
-# RUN: lld -core %s %p/Inputs/associates.objtxt | FileCheck %s
-
----
-defined-atoms:
- - name: f1
- merge: as-weak
- scope: global
- references:
- - kind: associate
- target: f2
- - name: f2
-...
-
-# CHECK: defined-atoms:
-# CHECK: - name: f1
-# CHECK: scope: global
-# CHECK: references:
-# CHECK: - kind: associate
-# CHECK: target: f2
-# CHECK: - name: f2
-# CHECK-NOT: - name: f2
diff --git a/test/core/auto-hide-coalesce.objtxt b/test/core/auto-hide-coalesce.objtxt
deleted file mode 100644
index 63c54951150e4..0000000000000
--- a/test/core/auto-hide-coalesce.objtxt
+++ /dev/null
@@ -1,39 +0,0 @@
-# RUN: lld -core %s %p/Inputs/auto-hide-coalesce.objtxt | FileCheck %s
-
-#
-# Tests auto-hide bit during coalescing
-#
-
----
-defined-atoms:
- - name: _inlineFunc1
- scope: global
- type: code
- merge: as-weak
-
- - name: _inlineFunc2
- scope: global
- type: code
- merge: as-weak
-
- - name: _inlineFunc3
- scope: global
- type: code
- merge: as-addressed-weak
-
- - name: _inlineFunc4
- scope: global
- type: code
- merge: as-addressed-weak
-...
-
-
-# CHECK: name: _inlineFunc1
-# CHECK: merge: as-weak
-# CHECK: name: _inlineFunc3
-# CHECK: merge: as-addressed-weak
-# CHECK: name: _inlineFunc4
-# CHECK: merge: as-addressed-weak
-# CHECK: name: _inlineFunc2
-# CHECK: merge: as-addressed-weak
-# CHECK: ...
diff --git a/test/core/code-model-attributes.objtxt b/test/core/code-model-attributes.objtxt
deleted file mode 100644
index 9bb4a01bd1a7f..0000000000000
--- a/test/core/code-model-attributes.objtxt
+++ /dev/null
@@ -1,33 +0,0 @@
-# RUN: lld -core %s %p/Inputs/code-model-attributes.objtxt \
-# RUN: %p/Inputs/code-model-attributes2.objtxt \
-# RUN: %p/Inputs/code-model-attributes3.objtxt \
-# RUN: %p/Inputs/code-model-attributes4.objtxt \
-# RUN: %p/Inputs/code-model-attributes5.objtxt | FileCheck %s
-#
-# Test that code model attributes are preserved
-#
-
----
-defined-atoms:
- - name: _def
-...
-
-# CHECK: name: _def
-# CHECK-NOT: code-model: mips-pic
-# CHECK-NOT: code-model: mips-micro
-# CHECK-NOT: code-model: mips-micro-pic
-# CHECK-NOT: code-model: mips-16
-# CHECK: name: _none
-# CHECK-NOT: code-model: mips-pic
-# CHECK-NOT: code-model: mips-micro
-# CHECK-NOT: code-model: mips-micro-pic
-# CHECK-NOT: code-model: mips-16
-# CHECK: name: _mips_pic
-# CHECK: code-model: mips-pic
-# CHECK: name: _mips_micro
-# CHECK: code-model: mips-micro
-# CHECK: name: _mips_micro_pic
-# CHECK: code-model: mips-micro-pic
-# CHECK: name: _mips_16
-# CHECK: code-model: mips-16
-# CHECK: ...
diff --git a/test/core/constants-coalesce.objtxt b/test/core/constants-coalesce.objtxt
deleted file mode 100644
index 1a9f1013e6ec0..0000000000000
--- a/test/core/constants-coalesce.objtxt
+++ /dev/null
@@ -1,42 +0,0 @@
-# RUN: lld -core %s %p/Inputs/constants-coalesce.objtxt \
-# RUN: %p/Inputs/constants-coalesce2.objtxt | FileCheck %s
-
-#
-# Test that duplicate merge-by-content anonymous constants are coalesced
-# and non-mergable duplicate constants are not coalesced.
-#
-
----
-defined-atoms:
- - ref-name: L4-byte
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
-
- - ref-name: L8-byte
- type: constant
- merge: by-content
- content: [ 01, 23, 45, 67, 89, AB, CD, EF ]
-
- - ref-name: L1
- type: constant
- content: [ 01, 02 ]
-...
-
-# CHECK-NOT: name:
-# CHECK: type: constant
-# CHECK: content: [ 01, 02, 03, 04 ]
-# CHECK: merge: by-content
-# CHECK: type: constant
-# CHECK: content: [ 01, 23, 45, 67, 89, AB, CD, EF ]
-# CHECK: merge: by-content
-# CHECK: type: constant
-# CHECK: content: [ 01, 02 ]
-# CHECK: type: constant
-# CHECK: content: [ 01, 02 ]
-# CHECK: type: constant
-# CHECK: content: [ 01, 02, 03 ]
-# CHECK: merge: by-content
-# CHECK: ...
-
-
diff --git a/test/core/cstring-coalesce.objtxt b/test/core/cstring-coalesce.objtxt
deleted file mode 100644
index 4d32c00daf82c..0000000000000
--- a/test/core/cstring-coalesce.objtxt
+++ /dev/null
@@ -1,29 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that duplicate c-strings are coalesced
-#
-
----
-defined-atoms:
- - ref-name: L0
- type: c-string
- merge: by-content
- content: [ 68, 65, 6c, 6c, 6f, 00 ]
-
- - ref-name: L1
- type: c-string
- merge: by-content
- content: [ 74, 68, 65, 72, 65, 00 ]
-...
-
-# CHECK-NOT: name:
-# CHECK: type: c-string
-# CHECK: content: [ 68, 65, 6C, 6C, 6F, 00 ]
-# CHECK: merge: by-content
-# CHECK: type: c-string
-# CHECK: content: [ 74, 68, 65, 72, 65, 00 ]
-# CHECK: merge: by-content
-# CHECK: ...
-
-
diff --git a/test/core/custom-section-coalesce.objtxt b/test/core/custom-section-coalesce.objtxt
deleted file mode 100644
index fcf04845a7ddd..0000000000000
--- a/test/core/custom-section-coalesce.objtxt
+++ /dev/null
@@ -1,50 +0,0 @@
-# RUN: lld -core %s %p/Inputs/custom-section-coalesce.objtxt \
-# RUN: %p/Inputs/custom-section-coalesce2.objtxt | FileCheck %s
-
-#
-# Test that custom sections are preserved when duplicate merge-by-content
-# constants are coalesced.
-#
-
----
-defined-atoms:
- - ref-name: L1
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
- section-choice: custom-required
- section-name: .mysection
-
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 05, 06, 07, 08 ]
- section-choice: custom-required
- section-name: .mysection
-
- - ref-name: L3
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
-...
-
-
-# CHECK:defined-atoms:
-# CHECK: - type: constant
-# CHECK: content: [ 01, 02, 03, 04 ]
-# CHECK: merge: by-content
-# CHECK: section-choice: custom-required
-# CHECK: section-name: .mysection
-# CHECK: - type: constant
-# CHECK: content: [ 05, 06, 07, 08 ]
-# CHECK: merge: by-content
-# CHECK: section-choice: custom-required
-# CHECK: section-name: .mysection
-# CHECK: - type: constant
-# CHECK: content: [ 01, 02, 03, 04 ]
-# CHECK: merge: by-content
-# CHECK: - type: constant
-# CHECK: content: [ 01, 02, 03, 04 ]
-# CHECK: merge: by-content
-# CHECK: section-choice: custom-required
-# CHECK: section-name: .mysection2
diff --git a/test/core/custom-section.objtxt b/test/core/custom-section.objtxt
deleted file mode 100644
index ce305e9af38e1..0000000000000
--- a/test/core/custom-section.objtxt
+++ /dev/null
@@ -1,34 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that custom sections are preserved
-#
-
----
-defined-atoms:
- - name: _foo1
- scope: global
- section-choice: content
-
- - name: _foo2
- scope: global
- section-choice: custom
- section-name: __foozle
-
- - name: _foo3
- scope: global
- section-choice: custom-required
- section-name: __boozle
-
-...
-
-
-# CHECK: name: _foo1
-# CHECK-NOT: section-name:
-# CHECK: name: _foo2
-# CHECK: section-choice: custom
-# CHECK: section-name: __foozle
-# CHECK: name: _foo3
-# CHECK: section-choice: custom-required
-# CHECK: section-name: __boozle
-# CHECK: ...
diff --git a/test/core/dead-strip-attributes.objtxt b/test/core/dead-strip-attributes.objtxt
deleted file mode 100644
index 2a1c97627d2b2..0000000000000
--- a/test/core/dead-strip-attributes.objtxt
+++ /dev/null
@@ -1,22 +0,0 @@
-# RUN: lld -core %s %p/Inputs/dead-strip-attributes.objtxt \
-# RUN: %p/Inputs/dead-strip-attributes2.objtxt | FileCheck %s
-
-#
-# Test that dead strip attributes are preserved
-#
-
----
-defined-atoms:
- - name: _foo1
- dead-strip: normal
-...
-
-
-# CHECK: name: _foo1
-# CHECK-NOT: dead-strip: never
-# CHECK-NOT: dead-strip: always
-# CHECK: name: _foo2
-# CHECK: dead-strip: never
-# CHECK: name: _foo3
-# CHECK: dead-strip: always
-# CHECK: ...
diff --git a/test/core/dead-strip-basic.objtxt b/test/core/dead-strip-basic.objtxt
deleted file mode 100644
index 1607ea9e5b899..0000000000000
--- a/test/core/dead-strip-basic.objtxt
+++ /dev/null
@@ -1,45 +0,0 @@
-# RUN: lld -core --dead-strip %s %p/Inputs/dead-strip-basic.objtxt %p/Inputs/dead-strip-basic2.objtxt | FileCheck -check-prefix=CHK1 %s
-# RUN: lld -core %s %p/Inputs/dead-strip-basic.objtxt %p/Inputs/dead-strip-basic2.objtxt | FileCheck -check-prefix=CHK2 %s
-
-#
-# Test that -dead-strip removes unreachable code and data
-# and that not using that option leaves them.
-#
-
----
-defined-atoms:
- - name: entry
- dead-strip: never
- references:
- - offset: 1
- kind: pcrel32
- target: bar
- - offset: 6
- kind: pcrel32
- target: baz
-
- - name: mydead1
- scope: global
-
-undefined-atoms:
- - name: bar
-
- - name: baz
-...
-
-
-# CHK1: name: entry
-# CHK1-NOT: name: mydead1
-# CHK1: name: bar
-# CHK1-NOT: name: mydead2
-# CHK1: name: baz
-# CHK1-NOT: name: mydead3
-# CHK1: ...
-
-# CHK2: name: entry
-# CHK2: name: mydead1
-# CHK2: name: mydead2
-# CHK2: name: bar
-# CHK2: name: baz
-# CHK2: name: mydead3
-# CHK2: ...
diff --git a/test/core/dead-strip-globals.objtxt b/test/core/dead-strip-globals.objtxt
deleted file mode 100644
index e4b11b16f690b..0000000000000
--- a/test/core/dead-strip-globals.objtxt
+++ /dev/null
@@ -1,43 +0,0 @@
-# RUN: lld -core --dead-strip --keep-globals %s %p/Inputs/dead-strip-globals.objtxt %p/Inputs/dead-strip-globals2.objtxt | FileCheck -check-prefix=CHK1 %s
-# RUN: lld -core --dead-strip %s %p/Inputs/dead-strip-globals.objtxt %p/Inputs/dead-strip-globals2.objtxt | FileCheck -check-prefix=CHK2 %s
-
-#
-# Test that -keep-globals prevents -dead-strip from removing globals.
-#
-
----
-defined-atoms:
- - name: entry
- dead-strip: never
- references:
- - offset: 1
- kind: pcrel32
- target: bar
- - offset: 6
- kind: pcrel32
- target: baz
-
- - name: myglobal1
- scope: global
-
-undefined-atoms:
- - name: bar
- - name: baz
-...
-
-
-# CHK1: name: entry
-# CHK1: name: myglobal1
-# CHK1: name: myglobal2
-# CHK1: name: bar
-# CHK1: name: baz
-# CHK1-NOT: name: mydead
-# CHK1: ...
-
-# CHK2: name: entry
-# CHK2-NOT: name: myglobal1
-# CHK2-NOT: name: myglobal2
-# CHK2: name: bar
-# CHK2: name: baz
-# CHK2-NOT: name: mydead
-# CHK2: ...
diff --git a/test/core/dead-strip-reverse.objtxt b/test/core/dead-strip-reverse.objtxt
deleted file mode 100644
index f471bebcdf4e7..0000000000000
--- a/test/core/dead-strip-reverse.objtxt
+++ /dev/null
@@ -1,25 +0,0 @@
-# RUN: lld -core --dead-strip %s | FileCheck -check-prefix=CHECK1 %s
-# RUN: lld -core %s | FileCheck -check-prefix=CHECK2 %s
-
----
-defined-atoms:
- - name: entry
- dead-strip: never
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: def
- - name: def
- scope: global
- - name: dead
- scope: global
-...
-
-# CHECK1: name: entry
-# CHECK1: name: def
-# CHECK1-NOT: name: dead
-
-# CHECK2: name: entry
-# CHECK2: name: def
-# CHECK2: name: dead
diff --git a/test/core/error-atom-attribute.objtxt b/test/core/error-atom-attribute.objtxt
deleted file mode 100644
index 6643aba29eea3..0000000000000
--- a/test/core/error-atom-attribute.objtxt
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that unknown atom attribute produces a readable error.
-#
-
----
-defined-atoms:
- - name: entry
- scope: hidden
- foobar: true
- dead-strip: never
-
-...
-
-
-# CHECK: error: unknown key 'foobar'
-# CHECK: foobar
diff --git a/test/core/error-atom-content-byte-value.objtxt b/test/core/error-atom-content-byte-value.objtxt
deleted file mode 100644
index 6e675576461a5..0000000000000
--- a/test/core/error-atom-content-byte-value.objtxt
+++ /dev/null
@@ -1,18 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that an invalid hex byte produces a readable error.
-#
-
----
-defined-atoms:
- - name: entry
- scope: hidden
- content: [ A5, 00, 4G, 1F ]
-
-...
-
-
-# CHECK: error: invalid two-digit-hex number
-# CHECK: 4G
diff --git a/test/core/error-atom-content-bytes.objtxt b/test/core/error-atom-content-bytes.objtxt
deleted file mode 100644
index a8a82b2b45e19..0000000000000
--- a/test/core/error-atom-content-bytes.objtxt
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that an out of range byte value produces a readable error.
-#
-
----
-defined-atoms:
- - name: entry
- scope: hidden
- content: [ A5, 1234, 00, 4F ]
-
-...
-
-
-# CHECK: error: out of range two-digit-hex number
-# CHECK: 1234
-
diff --git a/test/core/error-atom-type.objtxt b/test/core/error-atom-type.objtxt
deleted file mode 100644
index b0943f8e27492..0000000000000
--- a/test/core/error-atom-type.objtxt
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that an unknown content type produces a readable error.
-#
-
----
-defined-atoms:
- - name: entry
- scope: hidden
- type: superluminal
- dead-strip: never
-
-...
-
-
-# CHECK: error: unknown enumerated scalar
-# CHECK: superluminal
diff --git a/test/core/error-atom-undefined-wrong-attribue.objtxt b/test/core/error-atom-undefined-wrong-attribue.objtxt
deleted file mode 100644
index 5cdd8519c804e..0000000000000
--- a/test/core/error-atom-undefined-wrong-attribue.objtxt
+++ /dev/null
@@ -1,17 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that a defined attribute on an undefined atom produces a readable error.
-#
-
----
-undefined-atoms:
- - name: foo
- type: code
-
-...
-
-
-# CHECK: error: unknown key 'type'
-
diff --git a/test/core/error-duplicate-absolutes.objtxt b/test/core/error-duplicate-absolutes.objtxt
deleted file mode 100644
index 513a2f4944851..0000000000000
--- a/test/core/error-duplicate-absolutes.objtxt
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s %p/Inputs/error-duplicate-absolutes.objtxt 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that duplicate absolute atoms produces a readable error.
-#
-
----
-absolute-atoms:
- - name: absatom
- value: 0
- scope: global
-undefined-atoms:
- - name: undefatom
-...
-
-
-# CHECK: SymbolTable: error while merging absatom
-# CHECK: LLVM ERROR: duplicate symbol error
diff --git a/test/core/error-file-attribute.objtxt b/test/core/error-file-attribute.objtxt
deleted file mode 100644
index d8393dc5e400f..0000000000000
--- a/test/core/error-file-attribute.objtxt
+++ /dev/null
@@ -1,17 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that unknown file attribute produces a readable error.
-#
-
----
-aardvark: true
-defined-atoms:
- - name: entry
- scope: hidden
-
-...
-
-
-# CHECK: error: unknown key 'aardvark'
diff --git a/test/core/error-fixup-attribute.objtxt b/test/core/error-fixup-attribute.objtxt
deleted file mode 100644
index 025783a044274..0000000000000
--- a/test/core/error-fixup-attribute.objtxt
+++ /dev/null
@@ -1,21 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that unknown fixup attribute produces a readable error.
-#
-
----
-defined-atoms:
- - name: entry
- scope: hidden
- references:
- - offset: 3
- kind: pcrel32
- weasel: bar
- addend: 100
-
-...
-
-
-# CHECK: error: unknown key 'weasel'
diff --git a/test/core/error-fixup-target.objtxt b/test/core/error-fixup-target.objtxt
deleted file mode 100644
index 0e20d1636f50b..0000000000000
--- a/test/core/error-fixup-target.objtxt
+++ /dev/null
@@ -1,26 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck %s < %t.err
-
-#
-# Test that unbindable target name produces a readable error.
-#
-
----
-defined-atoms:
- - name: entry
- scope: hidden
- references:
- - offset: 3
- kind: pcrel32
- target: bar
- - offset: 5
- kind: pcrel32
- target: baz
-
-undefined-atoms:
- - name: bar
-
-...
-
-
-# CHECK: error: no such atom name: baz
diff --git a/test/core/fixups-addend.objtxt b/test/core/fixups-addend.objtxt
deleted file mode 100644
index d976150459c93..0000000000000
--- a/test/core/fixups-addend.objtxt
+++ /dev/null
@@ -1,50 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test addends in references
-#
-
----
-defined-atoms:
- - name: foo
- type: code
- content: [ 48, 8D, 3D, 00, 00, 00, 00,
- 48, 8D, 3D, 00, 00, 00, 00 ]
- references:
- - offset: 3
- kind: pcrel32
- target: bar
- addend: 100
- - offset: 10
- kind: pcrel32
- target: bar
- addend: -50
-
- - name: func
- type: code
- content: [ 48, 8D, 3D, 00, 00, 00, 00,
- 48, 8D, 3D, 00, 00, 00, 00 ]
- references:
- - offset: 3
- kind: pcrel32
- target: bar
- addend: 8000000000
- - offset: 10
- kind: pcrel32
- target: bar
- addend: -50
-
-undefined-atoms:
- - name: bar
-
-
-...
-
-# CHECK: name: foo
-# CHECK: references:
-# CHECK: addend: 100
-# CHECK: addend: -50
-# CHECK: name: func
-# CHECK: references:
-# CHECK: addend: 8000000000
-# CHECK: addend: -50
diff --git a/test/core/fixups-dup-named.objtxt b/test/core/fixups-dup-named.objtxt
deleted file mode 100644
index 1c57cd73bf098..0000000000000
--- a/test/core/fixups-dup-named.objtxt
+++ /dev/null
@@ -1,31 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test references referencing multiple atoms that have the same name
-#
-
----
-defined-atoms:
- - name: foo
- type: code
- content: [ E8, 00, 00, 00, 00, E8, 00, 00, 00, 00 ]
- references:
- - offset: 1
- kind: pcrel32
- target: bar_1
- - offset: 6
- kind: pcrel32
- target: bar_2
-
- - name: bar
- ref-name: bar_1
- scope: static
-
- - name: bar
- ref-name: bar_2
- scope: static
-
-
-...
-
-# CHECK: ...
diff --git a/test/core/fixups-named.objtxt b/test/core/fixups-named.objtxt
deleted file mode 100644
index 1427a9b705d15..0000000000000
--- a/test/core/fixups-named.objtxt
+++ /dev/null
@@ -1,36 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test references to simple named atoms
-#
-
----
-defined-atoms:
- - name: foo
- type: code
- content: [ E8, 00, 00, 00, 00,
- E8, 00, 00, 00, 00 ]
- references:
- - offset: 1
- kind: pcrel32
- target: bar
- - offset: 6
- kind: pcrel32
- target: baz
-
- - name: baz
- scope: static
- type: code
-
-undefined-atoms:
- - name: bar
-
-
-...
-
-# CHECK: name: foo
-# CHECK: references:
-# CHECK: target: bar
-# CHECK: target: baz
-# CHECK: ...
-
diff --git a/test/core/fixups-unnamed.objtxt b/test/core/fixups-unnamed.objtxt
deleted file mode 100644
index 88afb6a447a2f..0000000000000
--- a/test/core/fixups-unnamed.objtxt
+++ /dev/null
@@ -1,40 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test references to unnamed atoms
-#
-
----
-defined-atoms:
- - name: foo
- type: code
- content: [ 48, 8D, 3D, 00, 00, 00, 00,
- 48, 8D, 3D, 00, 00, 00, 00 ]
- references:
- - offset: 3
- kind: pcrel32
- target: LC1
- - offset: 10
- kind: pcrel32
- target: LC2
-
-
- - ref-name: LC1
- type: c-string
- merge: by-content
- content: [ 68, 65, 6c, 6c, 6f, 00 ]
-
- - ref-name: LC2
- type: c-string
- merge: by-content
- content: [ 74, 68, 65, 72, 65, 00 ]
-
-
-...
-
-# CHECK: name: foo
-# CHECK: references:
-# CHECK: offset: 3
-# CHECK: offset: 10
-# CHECK: ref-name:
-# CHECK: ref-name:
diff --git a/test/core/gnulinkonce-rearrange-resolve.objtxt b/test/core/gnulinkonce-rearrange-resolve.objtxt
deleted file mode 100644
index b3df078d23146..0000000000000
--- a/test/core/gnulinkonce-rearrange-resolve.objtxt
+++ /dev/null
@@ -1,53 +0,0 @@
-# RUN: lld -core %s %p/Inputs/gnulinkonce-rearrange-resolve.objtxt | FileCheck %s
-
-#
-# Test that gnu linkonce sections are parsed and the first section selected for symbol
-# resolution
-#
-
----
-defined-atoms:
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
-...
-
-# CHECK: defined-atoms:
-# CHECK: - name: g1
-# CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-# CHECK: type: gnu-linkonce
-# CHECK: references:
-# CHECK: - kind: group-child
-# CHECK: target: f1
-# CHECK: - kind: group-child
-# CHECK: target: f2
-# CHECK: - kind: group-child
-# CHECK: target: [[CHILD:[a-zA-Z\.0-9_]+]]
-# CHECK: - kind: group-child
-# CHECK: target: d1
-# CHECK: - name: f1
-# CHECK: - name: f2
-# CHECK: - name: g1
-# CHECK: ref-name: [[CHILD]]
-# CHECK: - name: d1
diff --git a/test/core/gnulinkonce-remaining-undef.objtxt b/test/core/gnulinkonce-remaining-undef.objtxt
deleted file mode 100644
index 5fe0ab55b5c05..0000000000000
--- a/test/core/gnulinkonce-remaining-undef.objtxt
+++ /dev/null
@@ -1,43 +0,0 @@
-# RUN: lld -core %s %p/Inputs/gnulinkonce-remaining-undef.objtxt \
-# RUN: %p/Inputs/gnulinkonce-remaining-undef2.objtxt | FileCheck %s
-
-#
-# Test that gnu linkonce sections are parsed and the first section selected for
-# symbol resolution. The second file which has the same gnu linkonce section has
-# a unresolved undefined symbol. lets make sure that the symbol is kept around
-# in the final link and remains undefined.
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
-...
-
-#CHECK: - name: anotherfunction
-#CHECK: scope: global
-#CHECK: type: data
-#CHECK: undefined-atoms:
-#CHECK: - name: f3
diff --git a/test/core/gnulinkonce-resolve.objtxt b/test/core/gnulinkonce-resolve.objtxt
deleted file mode 100644
index e926c39bd0e1f..0000000000000
--- a/test/core/gnulinkonce-resolve.objtxt
+++ /dev/null
@@ -1,63 +0,0 @@
-# RUN: lld -core %s %p/Inputs/gnulinkonce-resolve.objtxt | FileCheck %s
-
-#
-# Test that gnu linkonce sections are parsed and the first section selected for symbol
-# resolution
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
-...
-
-#CHECK: defined-atoms:
-#CHECK: - name: g1
-#CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-#CHECK: scope: global
-#CHECK: type: gnu-linkonce
-#CHECK: references:
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f2
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: d1
-#CHECK: - name: f1
-#CHECK: scope: global
-#CHECK: - name: f2
-#CHECK: scope: global
-#CHECK: - name: g1
-#CHECK: ref-name: [[GCHILD]]
-#CHECK: scope: global
-#CHECK: - name: d1
-#CHECK: scope: global
-#CHECK: type: data
diff --git a/test/core/gnulinkonce-simple.objtxt b/test/core/gnulinkonce-simple.objtxt
deleted file mode 100644
index 0576e5f75d7f0..0000000000000
--- a/test/core/gnulinkonce-simple.objtxt
+++ /dev/null
@@ -1,76 +0,0 @@
-# RUN: lld -core %s %p/Inputs/gnulinkonce-simple.objtxt | FileCheck %s
-
-#
-# Test that gnu linkonce sections are parsed properly when there is a reference to a
-# atom from outside the gnu linkonce section.
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- references:
- - kind: layout-after
- target: anotherfunction
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: gnu-linkonce
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: d1
- - kind: group-child
- target: g1
- - name: anotherfunction
- scope: global
- type: data
-...
-
-#CHECK: defined-atoms:
-#CHECK: - name: g1
-#CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-#CHECK: scope: global
-#CHECK: type: gnu-linkonce
-#CHECK: references:
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f2
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: d1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
-#CHECK: - name: f1
-#CHECK: scope: global
-#CHECK: references:
-#CHECK: - kind: layout-after
-#CHECK: offset: 0
-#CHECK: target: anotherfunction
-#CHECK: - name: f2
-#CHECK: scope: global
-#CHECK: - name: d1
-#CHECK: scope: global
-#CHECK: type: data
-#CHECK: - name: g1
-#CHECK: ref-name: [[GCHILD]]
-#CHECK: scope: global
-#CHECK: - name: anotherfunction
-#CHECK: scope: global
-#CHECK: type: data
diff --git a/test/core/inline-coalesce.objtxt b/test/core/inline-coalesce.objtxt
deleted file mode 100644
index 5ddc9b2624b53..0000000000000
--- a/test/core/inline-coalesce.objtxt
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: lld -core %s %p/Inputs/inline-coalesce.objtxt %p/Inputs/inline-coalesce2.objtxt | FileCheck %s
-
-#
-# Test that non-inlined inlined functions are silently coalesced
-#
-
----
-defined-atoms:
- - name: _inlineFunc
- scope: global
- type: code
- merge: as-weak
-...
-
-
-# CHECK: name: _inlineFunc
-# CHECK: merge: as-weak
-# CHECK-NOT: name: _inlineFunc
-# CHECK: ...
diff --git a/test/core/multiple-def-error.objtxt b/test/core/multiple-def-error.objtxt
deleted file mode 100644
index 5765814e53eec..0000000000000
--- a/test/core/multiple-def-error.objtxt
+++ /dev/null
@@ -1,14 +0,0 @@
-# RUN: not lld -core %s %p/Inputs/multiple-def-error.objtxt 2>&1 | FileCheck %s
-
-#
-# Test that multiple definitions cause an error
-#
-
-# CHECK: duplicate symbol
-
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
-...
diff --git a/test/core/permissions.objtxt b/test/core/permissions.objtxt
deleted file mode 100644
index af33ea65c455a..0000000000000
--- a/test/core/permissions.objtxt
+++ /dev/null
@@ -1,57 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test permissions for known content types are implicit, but can be overridden.
-#
----
-defined-atoms:
- - name: one
- type: code
-
- - name: two
- type: data
- permissions: rw-
-
- - name: three
- type: const-data
-
- - name: four
- type: unknown
-
- - name: oddCode
- type: code
- permissions: rwx
-
- - name: oddData
- type: data
- permissions: rwx
-
- - name: oddConstData
- type: const-data
- permissions: rw-
-
- - name: oddUnknown
- type: unknown
- permissions: rw-
-
-...
-
-# CHECK: ---
-# CHECK: defined-atoms:
-# CHECK: - name: one
-# CHECK-NOT: permissions:
-# CHECK: - name: two
-# CHECK-NOT: permissions:
-# CHECK: - name: three
-# CHECK-NOT: permissions:
-# CHECK: - name: four
-# CHECK-NOT: permissions:
-# CHECK: - name: oddCode
-# CHECK: permissions: rwx
-# CHECK: - name: oddData
-# CHECK: permissions: rwx
-# CHECK: - name: oddConstData
-# CHECK: permissions: rw-
-# CHECK: - name: oddUnknown
-# CHECK: permissions: rw-
-# CHECK: ...
diff --git a/test/core/sectiongroup-deadstrip.objtxt b/test/core/sectiongroup-deadstrip.objtxt
deleted file mode 100644
index 5055c6e06b697..0000000000000
--- a/test/core/sectiongroup-deadstrip.objtxt
+++ /dev/null
@@ -1,84 +0,0 @@
-# Test for section group members be preserved even if there is a
-# reference to only one functions in the group.
-# RUN: lld -core --dead-strip %s %p/Inputs/sectiongroup-deadstrip.objtxt | FileCheck %s
-
-#
-# Test that section groups are parsed properly when there is a reference to a
-# group atom from outside a group.
-#
-
----
-defined-atoms:
- - name: entry
- dead-strip: never
- references:
- - offset: 1
- kind: pcrel32
- target: d1
- - name: f1
- scope: global
- type: code
- references:
- - kind: layout-after
- target: anotherfunction
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: d1
- - kind: group-child
- target: g1
- - name: anotherfunction
- scope: global
- type: data
-...
-
-#CHECK: defined-atoms:
-#CHECK: - name: g1
-#CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-#CHECK: scope: global
-#CHECK: type: group-comdat
-#CHECK: references:
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f2
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: d1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
-#CHECK: - name: f1
-#CHECK: scope: global
-#CHECK: references:
-#CHECK: - kind: layout-after
-#CHECK: offset: 0
-#CHECK: target: anotherfunction
-#CHECK: - name: f2
-#CHECK: scope: global
-#CHECK: - name: d1
-#CHECK: scope: global
-#CHECK: type: data
-#CHECK: - name: g1
-#CHECK: ref-name: [[GCHILD]]
-#CHECK: scope: global
-#CHECK: - name: anotherfunction
-#CHECK: scope: global
-#CHECK: type: data
diff --git a/test/core/sectiongroup-gnulinkonce-error.objtxt b/test/core/sectiongroup-gnulinkonce-error.objtxt
deleted file mode 100644
index 1b86170678392..0000000000000
--- a/test/core/sectiongroup-gnulinkonce-error.objtxt
+++ /dev/null
@@ -1,38 +0,0 @@
-# RUN: not lld -core %s %p/Inputs/sectiongroup-gnulinkonce-error.objtxt 2>&1 | FileCheck %s
-
-#
-# Test that section groups/gnu linkonce sections are parsed and a merge error
-# is displayed at the time of symbol resolution.
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
-...
-
-#CHECK: SymbolTable: error while merging g1
-#CHECK: LLVM ERROR: duplicate symbol error
-
diff --git a/test/core/sectiongroup-rearrange-resolve.objtxt b/test/core/sectiongroup-rearrange-resolve.objtxt
deleted file mode 100644
index f191113718dfd..0000000000000
--- a/test/core/sectiongroup-rearrange-resolve.objtxt
+++ /dev/null
@@ -1,53 +0,0 @@
-# RUN: lld -core %s %p/Inputs/sectiongroup-rearrange-resolve.objtxt | FileCheck %s
-
-#
-# Test that section groups are parsed and the first group selected for symbol
-# resolution
-#
-
----
-defined-atoms:
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
-...
-
-# CHECK: defined-atoms:
-# CHECK: - name: g1
-# CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-# CHECK: type: group-comdat
-# CHECK: references:
-# CHECK: - kind: group-child
-# CHECK: target: f1
-# CHECK: - kind: group-child
-# CHECK: target: f2
-# CHECK: - kind: group-child
-# CHECK: target: [[CHILD:[a-zA-Z\.0-9_]+]]
-# CHECK: - kind: group-child
-# CHECK: target: d1
-# CHECK: - name: f1
-# CHECK: - name: f2
-# CHECK: - name: g1
-# CHECK: ref-name: [[CHILD]]
-# CHECK: - name: d1
diff --git a/test/core/sectiongroup-remaining-undef.objtxt b/test/core/sectiongroup-remaining-undef.objtxt
deleted file mode 100644
index 0a292040a3540..0000000000000
--- a/test/core/sectiongroup-remaining-undef.objtxt
+++ /dev/null
@@ -1,42 +0,0 @@
-# RUN: lld -core %s %p/Inputs/sectiongroup-remaining-undef.objtxt %p/Inputs/sectiongroup-remaining-undef2.objtxt | FileCheck %s
-
-#
-# Test that section groups are parsed and the first group selected for symbol
-# resolution. The second file which has the same group has a unresolved
-# undefined symbol. lets make sure that the symbol is kept around in the final
-# link and remains undefined.
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
-...
-
-#CHECK: - name: anotherfunction
-#CHECK: scope: global
-#CHECK: type: data
-#CHECK: undefined-atoms:
-#CHECK: - name: f3
diff --git a/test/core/sectiongroup-resolve.objtxt b/test/core/sectiongroup-resolve.objtxt
deleted file mode 100644
index 52197dbb4e919..0000000000000
--- a/test/core/sectiongroup-resolve.objtxt
+++ /dev/null
@@ -1,64 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that section groups are parsed and the first group selected for symbol
-# resolution
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: g1
- - kind: group-child
- target: d1
-...
-
-#CHECK: defined-atoms:
-#CHECK: - name: g1
-#CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-#CHECK: scope: global
-#CHECK: type: group-comdat
-#CHECK: references:
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f2
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: d1
-#CHECK: - name: f1
-#CHECK: scope: global
-#CHECK: - name: f2
-#CHECK: scope: global
-#CHECK: - name: g1
-#CHECK: ref-name: [[GCHILD]]
-#CHECK: scope: global
-#CHECK: - name: d1
-#CHECK: scope: global
-#CHECK: type: data
-#CHECK: ...
diff --git a/test/core/sectiongroup-simple.objtxt b/test/core/sectiongroup-simple.objtxt
deleted file mode 100644
index d81b1a1b313c8..0000000000000
--- a/test/core/sectiongroup-simple.objtxt
+++ /dev/null
@@ -1,76 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that section groups are parsed properly when there is a reference to a
-# group atom from outside a group.
-#
-
----
-defined-atoms:
- - name: f1
- scope: global
- type: code
- references:
- - kind: layout-after
- target: anotherfunction
- - name: f2
- scope: global
- type: code
- - name: g1
- scope: global
- type: code
- - name: d1
- scope: global
- type: data
- - name: g1
- scope: global
- type: group-comdat
- references:
- - kind: group-child
- target: f1
- - kind: group-child
- target: f2
- - kind: group-child
- target: d1
- - kind: group-child
- target: g1
- - name: anotherfunction
- scope: global
- type: data
-...
-
-#CHECK: defined-atoms:
-#CHECK: - name: g1
-#CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
-#CHECK: scope: global
-#CHECK: type: group-comdat
-#CHECK: references:
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: f2
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: d1
-#CHECK: - kind: group-child
-#CHECK: offset: 0
-#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
-#CHECK: - name: f1
-#CHECK: scope: global
-#CHECK: references:
-#CHECK: - kind: layout-after
-#CHECK: offset: 0
-#CHECK: target: anotherfunction
-#CHECK: - name: f2
-#CHECK: scope: global
-#CHECK: - name: d1
-#CHECK: scope: global
-#CHECK: type: data
-#CHECK: - name: g1
-#CHECK: ref-name: [[GCHILD]]
-#CHECK: scope: global
-#CHECK: - name: anotherfunction
-#CHECK: scope: global
-#CHECK: type: data
diff --git a/test/core/shared-library-basic.objtxt b/test/core/shared-library-basic.objtxt
deleted file mode 100644
index 61445e7431fd4..0000000000000
--- a/test/core/shared-library-basic.objtxt
+++ /dev/null
@@ -1,40 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that shared-library symbols are parsed and preserved
-#
-
----
-shared-library-atoms:
- - name: malloc
- load-name: libc.so
- type: code
- size: 0
-
- - name: free
- load-name: libc.so
-
- - name: fast_malloc
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: stdout
- load-name: libc.so
- type: data
- size: 8
-
-...
-
-# CHECK: shared-library-atoms:
-# CHECK: name: malloc
-# CHECK: load-name: libc.so
-# CHECK: name: free
-# CHECK: load-name: libc.so
-# CHECK: name: fast_malloc
-# CHECK: load-name: libc.so
-# CHECK: can-be-null: at-runtime
-# CHECK: name: stdout
-# CHECK: load-name: libc.so
-# CHECK: type: data
-# CHECK: size: 8
-# CHECK: ...
diff --git a/test/core/shared-library-coalesce.objtxt b/test/core/shared-library-coalesce.objtxt
deleted file mode 100644
index 1cd25d18f8812..0000000000000
--- a/test/core/shared-library-coalesce.objtxt
+++ /dev/null
@@ -1,55 +0,0 @@
-# RUN: lld -core %s %p/Inputs/shared-library-coalesce.objtxt | FileCheck %s
-
-#
-# Test that shared library symbols preserve their attributes and merge properly
-#
-
----
-shared-library-atoms:
- - name: foo1
- load-name: libc.so
-
- - name: foo2
- load-name: libc.so
-
- - name: bar1
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: bar2
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: mismatchNull1
- load-name: libc.so
- can-be-null: at-runtime
-
- - name: mismatchNull2
- load-name: libc.so
-
- - name: mismatchload1
- load-name: liba.so
-
- - name: mismatchload2
- load-name: libb.so
-
-...
-
-# CHECK: name: foo1
-# CHECK: name: foo2
-# CHECK: name: bar1
-# CHECK: can-be-null: at-runtime
-# CHECK: name: bar2
-# CHECK: can-be-null: at-runtime
-# CHECK: name: mismatchNull1
-# CHECK: can-be-null: at-runtime
-# CHECK: name: mismatchNull2
-# CHECK-NOT: can-be-null: at-runtime
-# CHECK: name: mismatchload1
-# CHECK: load-name: liba.so
-# CHECK: name: mismatchload2
-# CHECK: load-name: libb.so
-# CHECK: name: foo3
-# CHECK: name: bar3
-# CHECK: can-be-null: at-runtime
-# CHECK: ...
diff --git a/test/core/tent-merge.objtxt b/test/core/tent-merge.objtxt
deleted file mode 100644
index 8997be2833b10..0000000000000
--- a/test/core/tent-merge.objtxt
+++ /dev/null
@@ -1,19 +0,0 @@
-# RUN: lld -core %s %p/Inputs/tent-merge.objtxt | FileCheck %s
-
-#
-# Test that a tentative definition and a regular global are merged into
-# one regular global
-#
-
----
-defined-atoms:
- - name: _foo
- merge: as-tentative
- scope: global
- type: zero-fill
- size: 4
-...
-
-
-# CHECK: name: _foo
-# CHECK-NOT: merge: as-tentative
diff --git a/test/core/undef-coalesce-error.objtxt b/test/core/undef-coalesce-error.objtxt
deleted file mode 100644
index f0ad8d8555ab6..0000000000000
--- a/test/core/undef-coalesce-error.objtxt
+++ /dev/null
@@ -1,31 +0,0 @@
-# RUN: not lld -core --undefines-are-errors %s %p/Inputs/undef-coalesce-error.objtxt %p/Inputs/undef-coalesce-error2.objtxt 2> %t.err
-# RUN: FileCheck -check-prefix=CHECKERR %s < %t.err
-# RUN: lld -core %s %p/Inputs/undef-coalesce-error.objtxt %p/Inputs/undef-coalesce-error2.objtxt | FileCheck %s
-
-#
-# Test that -undefines-are-errors triggers and error
-# and that not using that option results in undefined atoms.
-#
-
----
-defined-atoms:
- - name: foo
- type: code
-
-undefined-atoms:
- - name: malloc
- - name: free
-...
-
-# CHECKERR: free
-# CHECKERR: malloc
-# CHECKERR: symbol(s) not found
-
-# CHECK: defined-atoms:
-# CHECK: name: foo
-# CHECK: name: bar
-# CHECK: name: myfunc
-# CHECK: undefined-atoms:
-# CHECK: name: malloc
-# CHECK: name: free
-# CHECK: ...
diff --git a/test/core/undef-coalesce.objtxt b/test/core/undef-coalesce.objtxt
deleted file mode 100644
index b0ea2b9289771..0000000000000
--- a/test/core/undef-coalesce.objtxt
+++ /dev/null
@@ -1,26 +0,0 @@
-# RUN: lld -core %s %p/Inputs/undef-coalesce.objtxt %p/Inputs/undef-coalesce2.objtxt | FileCheck %s
-
-#
-# Test that undefined symbols are coalesced with other undefined symbols
-# and definitions override them.
-#
-
----
-defined-atoms:
- - name: foo
- type: code
-
-undefined-atoms:
- - name: malloc
- - name: free
-...
-
-# CHECK: defined-atoms:
-# CHECK: name: foo
-# CHECK: name: bar
-# CHECK: name: myfunc
-# CHECK: scope: global
-# CHECK: undefined-atoms:
-# CHECK: name: malloc
-# CHECK: name: free
-# CHECK: ...
diff --git a/test/core/undef-fallback.objtxt b/test/core/undef-fallback.objtxt
deleted file mode 100644
index aef7b6d7c26f2..0000000000000
--- a/test/core/undef-fallback.objtxt
+++ /dev/null
@@ -1,29 +0,0 @@
-# RUN: lld -core %p/undef-fallback.objtxt %p/Inputs/undef-fallback.objtxt | FileCheck %s
-
-# Test that fallback atoms can be parsed by YAML reader and processed by the
-# core linker.
-
----
-defined-atoms:
- - name: def1
- scope: global
-
-undefined-atoms:
- - name: undef1
- fallback:
- name: fallback1
- - name: undef2
- fallback:
- name: fallback2
-...
-
-# CHECK: defined-atoms:
-# CHECK-NEXT: - name: def1
-# CHECK-NEXT: scope: global
-# CHECK-NEXT: - name: fallback1
-# CHECK-NEXT: ref-name: fallback1
-# CHECK-NEXT: undefined-atoms:
-# CHECK-NEXT: - name: fallback1
-# CHECK-NEXT: - name: fallback2
-
-# CHECK-NOT: - name: fallback3
diff --git a/test/core/undef-weak-coalesce.objtxt b/test/core/undef-weak-coalesce.objtxt
deleted file mode 100644
index d46a05cb95cf7..0000000000000
--- a/test/core/undef-weak-coalesce.objtxt
+++ /dev/null
@@ -1,52 +0,0 @@
-# RUN: lld -core %s %p/Inputs/undef-weak-coalesce.objtxt| FileCheck %s
-
-#
-# Test that undefined symbols preserve their attributes and merge properly
-#
-
----
-undefined-atoms:
- - name: regular_func
- can-be-null: never
- - name: weak_import_func
- can-be-null: at-runtime
- - name: weak_func
- can-be-null: at-buildtime
- - name: bar1
- can-be-null: never
- - name: bar2
- can-be-null: at-runtime
- - name: bar3
- can-be-null: at-buildtime
- - name: bar4
- can-be-null: never
- - name: bar5
- can-be-null: at-runtime
- - name: bar6
- can-be-null: at-buildtime
- - name: bar7
- can-be-null: never
- - name: bar8
- can-be-null: at-runtime
- - name: bar9
- can-be-null: at-buildtime
-...
-
-# CHECK: - name: regular_func
-# CHECK-NEXT: - name: weak_import_func
-# CHECK-NEXT: can-be-null: at-runtime
-# CHECK-NEXT: - name: weak_func
-# CHECK-NEXT: can-be-null: at-buildtime
-# CHECK-NEXT: - name: bar1
-# CHECK-NEXT: - name: bar2
-# CHECK-NEXT: can-be-null: at-runtime
-# CHECK-NEXT: - name: bar3
-# CHECK-NEXT: can-be-null: at-buildtime
-# CHECK-NEXT: - name: bar4
-# CHECK-NEXT: - name: bar5
-# CHECK-NEXT: can-be-null: at-runtime
-# CHECK-NEXT: - name: bar7
-# CHECK-NEXT: - name: bar6
-# CHECK-NEXT: - name: bar8
-# CHECK-NEXT: - name: bar9
-# CHECK-NEXT: can-be-null: at-runtime
diff --git a/test/core/weak-coalesce.objtxt b/test/core/weak-coalesce.objtxt
deleted file mode 100644
index e92aedeb4f154..0000000000000
--- a/test/core/weak-coalesce.objtxt
+++ /dev/null
@@ -1,16 +0,0 @@
-# RUN: lld -core %s %p/Inputs/weak-coalesce.objtxt \
-# RUN: %p/Inputs/weak-coalesce2.objtxt | FileCheck %s
-
----
-defined-atoms:
- - name: _foo
- merge: as-weak
- scope: global
- type: data
-...
-
-
-# CHECK: name: _foo
-# CHECK-NOT: merge: as-weak
-# CHECK-NOT: name: _foo
-# CHECK: ...