[lld] r189720 - [lld][test] organize test directory. No change in functionality
Shankar Easwaran
shankare at codeaurora.org
Fri Aug 30 22:59:52 PDT 2013
Author: shankare
Date: Sat Aug 31 00:59:52 2013
New Revision: 189720
URL: http://llvm.org/viewvc/llvm-project?rev=189720&view=rev
Log:
[lld][test] organize test directory. No change in functionality
* Renames few tests which had extension objtxt to test
* created core directory that contains all the core tests
Added:
lld/trunk/test/Driver/undef-basic.objtxt
- copied, changed from r189719, lld/trunk/test/undef-basic.objtxt
lld/trunk/test/core/
lld/trunk/test/core/absolute-basic.objtxt
- copied, changed from r189719, lld/trunk/test/absolute-basic.objtxt
lld/trunk/test/core/absolute-local.objtxt
- copied, changed from r189719, lld/trunk/test/absolute-local.objtxt
lld/trunk/test/core/archive-basic.objtxt
- copied, changed from r189719, lld/trunk/test/archive-basic.objtxt
lld/trunk/test/core/archive-chain.objtxt
- copied, changed from r189719, lld/trunk/test/archive-chain.objtxt
lld/trunk/test/core/archive-tentdef-search.objtxt
- copied, changed from r189719, lld/trunk/test/archive-tentdef-search.objtxt
lld/trunk/test/core/auto-hide-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/auto-hide-coalesce.objtxt
lld/trunk/test/core/constants-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/constants-coalesce.objtxt
lld/trunk/test/core/cstring-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/cstring-coalesce.objtxt
lld/trunk/test/core/custom-section.objtxt
- copied, changed from r189719, lld/trunk/test/custom-section.objtxt
lld/trunk/test/core/dead-strip-attributes.objtxt
- copied, changed from r189719, lld/trunk/test/dead-strip-attributes.objtxt
lld/trunk/test/core/dead-strip-basic.objtxt
- copied, changed from r189719, lld/trunk/test/dead-strip-basic.objtxt
lld/trunk/test/core/dead-strip-globals.objtxt
- copied, changed from r189719, lld/trunk/test/dead-strip-globals.objtxt
lld/trunk/test/core/empty.objtxt
- copied, changed from r189719, lld/trunk/test/empty.objtxt
lld/trunk/test/core/error-atom-attribute.objtxt
- copied, changed from r189719, lld/trunk/test/error-atom-attribute.objtxt
lld/trunk/test/core/error-atom-content-byte-value.objtxt
- copied, changed from r189719, lld/trunk/test/error-atom-content-byte-value.objtxt
lld/trunk/test/core/error-atom-content-bytes.objtxt
- copied, changed from r189719, lld/trunk/test/error-atom-content-bytes.objtxt
lld/trunk/test/core/error-atom-type.objtxt
- copied, changed from r189719, lld/trunk/test/error-atom-type.objtxt
lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt
- copied, changed from r189719, lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt
lld/trunk/test/core/error-file-attribute.objtxt
- copied, changed from r189719, lld/trunk/test/error-file-attribute.objtxt
lld/trunk/test/core/error-fixup-attribute.objtxt
- copied, changed from r189719, lld/trunk/test/error-fixup-attribute.objtxt
lld/trunk/test/core/error-fixup-target.objtxt
- copied, changed from r189719, lld/trunk/test/error-fixup-target.objtxt
lld/trunk/test/core/fixups-addend.objtxt
- copied, changed from r189719, lld/trunk/test/fixups-addend.objtxt
lld/trunk/test/core/fixups-dup-named.objtxt
- copied, changed from r189719, lld/trunk/test/fixups-dup-named.objtxt
lld/trunk/test/core/fixups-named.objtxt
- copied, changed from r189719, lld/trunk/test/fixups-named.objtxt
lld/trunk/test/core/fixups-unnamed.objtxt
- copied, changed from r189719, lld/trunk/test/fixups-unnamed.objtxt
lld/trunk/test/core/ingroup-test-big.objtxt
- copied, changed from r189719, lld/trunk/test/ingroup-test-big.objtxt
lld/trunk/test/core/ingroup-test-loop.objtxt
- copied, changed from r189719, lld/trunk/test/ingroup-test-loop.objtxt
lld/trunk/test/core/ingroup-test-with-layout-after.objtxt
- copied, changed from r189719, lld/trunk/test/ingroup-test-with-layout-after.objtxt
lld/trunk/test/core/ingroup-test.objtxt
- copied, changed from r189719, lld/trunk/test/ingroup-test.objtxt
lld/trunk/test/core/inline-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/inline-coalesce.objtxt
lld/trunk/test/core/layout-error-test.objtxt
- copied, changed from r189719, lld/trunk/test/layout-error-test.objtxt
lld/trunk/test/core/layoutafter-test.objtxt
- copied, changed from r189719, lld/trunk/test/layoutafter-test.objtxt
lld/trunk/test/core/layoutbefore-test.objtxt
- copied, changed from r189719, lld/trunk/test/layoutbefore-test.objtxt
lld/trunk/test/core/multiple-def-error.objtxt
- copied, changed from r189719, lld/trunk/test/multiple-def-error.objtxt
lld/trunk/test/core/pass-got-basic.objtxt
- copied, changed from r189719, lld/trunk/test/pass-got-basic.objtxt
lld/trunk/test/core/pass-stubs-basic.objtxt
- copied, changed from r189719, lld/trunk/test/pass-stubs-basic.objtxt
lld/trunk/test/core/permissions.objtxt
- copied, changed from r189719, lld/trunk/test/permissions.objtxt
lld/trunk/test/core/section-position.objtxt
- copied, changed from r189719, lld/trunk/test/section-position.objtxt
lld/trunk/test/core/shared-library-basic.objtxt
- copied, changed from r189719, lld/trunk/test/shared-library-basic.objtxt
lld/trunk/test/core/shared-library-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/shared-library-coalesce.objtxt
lld/trunk/test/core/tent-merge.objtxt
- copied, changed from r189719, lld/trunk/test/tent-merge.objtxt
lld/trunk/test/core/undef-coalesce-error.objtxt
- copied, changed from r189719, lld/trunk/test/undef-coalesce-error.objtxt
lld/trunk/test/core/undef-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/undef-coalesce.objtxt
lld/trunk/test/core/undef-weak-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/undef-weak-coalesce.objtxt
lld/trunk/test/core/weak-coalesce.objtxt
- copied, changed from r189719, lld/trunk/test/weak-coalesce.objtxt
lld/trunk/test/elf/abs.test
- copied, changed from r189719, lld/trunk/test/elf/abs.objtxt
lld/trunk/test/elf/archive-elf-forceload.test
- copied, changed from r189719, lld/trunk/test/elf/archive-elf-forceload.objtxt
lld/trunk/test/elf/archive-elf.test
- copied, changed from r189719, lld/trunk/test/elf/archive-elf.objtxt
lld/trunk/test/elf/branch.test
- copied, changed from r189719, lld/trunk/test/elf/branch.objtxt
lld/trunk/test/elf/check.test
- copied, changed from r189719, lld/trunk/test/elf/check.objtxt
lld/trunk/test/elf/checkrodata.test
- copied, changed from r189719, lld/trunk/test/elf/rodata.objtxt
lld/trunk/test/elf/mergeatoms.test
- copied, changed from r189719, lld/trunk/test/elf/mergeatoms.objtxt
lld/trunk/test/elf/mergeconstants.test
- copied, changed from r189719, lld/trunk/test/elf/mergeconstants.objtxt
lld/trunk/test/elf/phdr.test
- copied, changed from r189719, lld/trunk/test/elf/phdr.objtxt
lld/trunk/test/elf/ppc.test
- copied, changed from r189719, lld/trunk/test/elf/ppc.objtxt
lld/trunk/test/elf/reloc.test
- copied, changed from r189719, lld/trunk/test/elf/reloc.objtxt
lld/trunk/test/elf/sections.test
- copied, changed from r189719, lld/trunk/test/elf/sections.objtxt
lld/trunk/test/elf/symbols.test
- copied, changed from r189719, lld/trunk/test/elf/symbols.objtxt
lld/trunk/test/elf/x86.test
- copied, changed from r189719, lld/trunk/test/elf/x86.objtxt
Removed:
lld/trunk/test/absolute-basic.objtxt
lld/trunk/test/absolute-local.objtxt
lld/trunk/test/archive-basic.objtxt
lld/trunk/test/archive-chain.objtxt
lld/trunk/test/archive-tentdef-search.objtxt
lld/trunk/test/auto-hide-coalesce.objtxt
lld/trunk/test/constants-coalesce.objtxt
lld/trunk/test/cstring-coalesce.objtxt
lld/trunk/test/custom-section.objtxt
lld/trunk/test/dead-strip-attributes.objtxt
lld/trunk/test/dead-strip-basic.objtxt
lld/trunk/test/dead-strip-globals.objtxt
lld/trunk/test/elf/abs.objtxt
lld/trunk/test/elf/archive-elf-forceload.objtxt
lld/trunk/test/elf/archive-elf.objtxt
lld/trunk/test/elf/branch.objtxt
lld/trunk/test/elf/check.objtxt
lld/trunk/test/elf/mergeatoms.objtxt
lld/trunk/test/elf/mergeconstants.objtxt
lld/trunk/test/elf/phdr.objtxt
lld/trunk/test/elf/ppc.objtxt
lld/trunk/test/elf/reloc.objtxt
lld/trunk/test/elf/rodata.objtxt
lld/trunk/test/elf/sections.objtxt
lld/trunk/test/elf/symbols.objtxt
lld/trunk/test/elf/x86.objtxt
lld/trunk/test/empty.objtxt
lld/trunk/test/error-atom-attribute.objtxt
lld/trunk/test/error-atom-content-byte-value.objtxt
lld/trunk/test/error-atom-content-bytes.objtxt
lld/trunk/test/error-atom-type.objtxt
lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt
lld/trunk/test/error-file-attribute.objtxt
lld/trunk/test/error-fixup-attribute.objtxt
lld/trunk/test/error-fixup-target.objtxt
lld/trunk/test/fixups-addend.objtxt
lld/trunk/test/fixups-dup-named.objtxt
lld/trunk/test/fixups-named.objtxt
lld/trunk/test/fixups-unnamed.objtxt
lld/trunk/test/ingroup-test-big.objtxt
lld/trunk/test/ingroup-test-loop.objtxt
lld/trunk/test/ingroup-test-with-layout-after.objtxt
lld/trunk/test/ingroup-test.objtxt
lld/trunk/test/inline-coalesce.objtxt
lld/trunk/test/layout-error-test.objtxt
lld/trunk/test/layoutafter-test.objtxt
lld/trunk/test/layoutbefore-test.objtxt
lld/trunk/test/multiple-def-error.objtxt
lld/trunk/test/pass-got-basic.objtxt
lld/trunk/test/pass-stubs-basic.objtxt
lld/trunk/test/permissions.objtxt
lld/trunk/test/section-position.objtxt
lld/trunk/test/shared-library-basic.objtxt
lld/trunk/test/shared-library-coalesce.objtxt
lld/trunk/test/tent-merge.objtxt
lld/trunk/test/undef-basic.objtxt
lld/trunk/test/undef-coalesce-error.objtxt
lld/trunk/test/undef-coalesce.objtxt
lld/trunk/test/undef-weak-coalesce.objtxt
lld/trunk/test/weak-coalesce.objtxt
Copied: lld/trunk/test/Driver/undef-basic.objtxt (from r189719, lld/trunk/test/undef-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/Driver/undef-basic.objtxt?p2=lld/trunk/test/Driver/undef-basic.objtxt&p1=lld/trunk/test/undef-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/absolute-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/absolute-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/absolute-basic.objtxt (original)
+++ lld/trunk/test/absolute-basic.objtxt (removed)
@@ -1,23 +0,0 @@
-# RUN: lld -core %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: ...
Removed: lld/trunk/test/absolute-local.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/absolute-local.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/absolute-local.objtxt (original)
+++ lld/trunk/test/absolute-local.objtxt (removed)
@@ -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: ...
Removed: lld/trunk/test/archive-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/archive-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/archive-basic.objtxt (original)
+++ lld/trunk/test/archive-basic.objtxt (removed)
@@ -1,45 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Tests archives in YAML. Tests that an undefined in a regular file will load
-# all atoms in select archive members.
-#
-
----
-defined-atoms:
- - name: foo
- type: code
-
-undefined-atoms:
- - name: bar
-
----
-kind: archive
-members:
- - name: bar.o
- content:
- defined-atoms:
- - name: bar
- scope: global
- type: code
-
- - name: bar2
- type: code
-
- - name: baz.o
- content:
- defined-atoms:
- - name: baz
- scope: global
- type: code
-
- - name: baz2
- type: code
-...
-
-# CHECK: name: foo
-# CHECK-NOT: undefined-atoms:
-# CHECK: name: bar
-# CHECK: name: bar2
-# CHECK-NOT: name: baz
-# CHECK: ...
Removed: lld/trunk/test/archive-chain.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/archive-chain.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/archive-chain.objtxt (original)
+++ lld/trunk/test/archive-chain.objtxt (removed)
@@ -1,72 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Tests that an undefine in one archive can force a load from another archive.
-#
-
----
-defined-atoms:
- - name: foo
- type: code
-
-undefined-atoms:
- - name: bar1
-
----
-kind: archive
-members:
- - name: bar1.o
- content:
- defined-atoms:
- - name: bar1
- scope: global
- type: code
-
- - name: bar1b
- type: code
-
- undefined-atoms:
- - name: baz1
-
- - name: bar2.o
- content:
- defined-atoms:
- - name: bar2
- scope: global
- type: code
-
- - name: bar2b
- type: code
-
----
-kind: archive
-members:
- - name: baz1.o
- content:
- defined-atoms:
- - name: baz1
- scope: global
- type: code
-
- - name: baz1b
- type: code
-
- - name: baz2.o
- content:
- defined-atoms:
- - name: baz2
- scope: global
- type: code
-
- - name: baz2b
- type: code
-...
-
-# CHECK: name: foo
-# CHECK: name: bar1
-# CHECK: name: bar1b
-# CHECK-NOT: name: bar2
-# CHECK: name: baz1
-# CHECK: name: baz1b
-# CHECK-NOT: name: baz2
-# CHECK: ...
Removed: lld/trunk/test/archive-tentdef-search.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/archive-tentdef-search.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/archive-tentdef-search.objtxt (original)
+++ lld/trunk/test/archive-tentdef-search.objtxt (removed)
@@ -1,43 +0,0 @@
-# RUN: lld -core %s | FileCheck -check-prefix=CHK1 %s
-# RUN: lld -core --commons-search-archives %s | 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.
-#
-
----
-defined-atoms:
- - name: foo
- type: code
-
- - name: bar
- scope: global
- type: zero-fill
- merge: as-tentative
-
----
-kind: archive
-members:
- - name: bar.o
- content:
- defined-atoms:
- - name: bar
- scope: global
- type: data
-
- - name: bar2
- type: data
-...
-
-# 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: ...
Removed: lld/trunk/test/auto-hide-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/auto-hide-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/auto-hide-coalesce.objtxt (original)
+++ lld/trunk/test/auto-hide-coalesce.objtxt (removed)
@@ -1,60 +0,0 @@
-# RUN: lld -core %s | 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
----
-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
-...
-
-
-# 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: ...
Removed: lld/trunk/test/constants-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/constants-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/constants-coalesce.objtxt (original)
+++ lld/trunk/test/constants-coalesce.objtxt (removed)
@@ -1,60 +0,0 @@
-# RUN: lld -core %s | 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 ]
----
-defined-atoms:
- - ref-name: L1
- type: constant
- content: [ 01, 02 ]
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
----
-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 ]
-...
-
-# 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: ...
-
-
Copied: lld/trunk/test/core/absolute-basic.objtxt (from r189719, lld/trunk/test/absolute-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/absolute-basic.objtxt?p2=lld/trunk/test/core/absolute-basic.objtxt&p1=lld/trunk/test/absolute-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/absolute-local.objtxt (from r189719, lld/trunk/test/absolute-local.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/absolute-local.objtxt?p2=lld/trunk/test/core/absolute-local.objtxt&p1=lld/trunk/test/absolute-local.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/archive-basic.objtxt (from r189719, lld/trunk/test/archive-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/archive-basic.objtxt?p2=lld/trunk/test/core/archive-basic.objtxt&p1=lld/trunk/test/archive-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/archive-chain.objtxt (from r189719, lld/trunk/test/archive-chain.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/archive-chain.objtxt?p2=lld/trunk/test/core/archive-chain.objtxt&p1=lld/trunk/test/archive-chain.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/archive-tentdef-search.objtxt (from r189719, lld/trunk/test/archive-tentdef-search.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/archive-tentdef-search.objtxt?p2=lld/trunk/test/core/archive-tentdef-search.objtxt&p1=lld/trunk/test/archive-tentdef-search.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/auto-hide-coalesce.objtxt (from r189719, lld/trunk/test/auto-hide-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/auto-hide-coalesce.objtxt?p2=lld/trunk/test/core/auto-hide-coalesce.objtxt&p1=lld/trunk/test/auto-hide-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/constants-coalesce.objtxt (from r189719, lld/trunk/test/constants-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/constants-coalesce.objtxt?p2=lld/trunk/test/core/constants-coalesce.objtxt&p1=lld/trunk/test/constants-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/cstring-coalesce.objtxt (from r189719, lld/trunk/test/cstring-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/cstring-coalesce.objtxt?p2=lld/trunk/test/core/cstring-coalesce.objtxt&p1=lld/trunk/test/cstring-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/custom-section.objtxt (from r189719, lld/trunk/test/custom-section.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/custom-section.objtxt?p2=lld/trunk/test/core/custom-section.objtxt&p1=lld/trunk/test/custom-section.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/dead-strip-attributes.objtxt (from r189719, lld/trunk/test/dead-strip-attributes.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/dead-strip-attributes.objtxt?p2=lld/trunk/test/core/dead-strip-attributes.objtxt&p1=lld/trunk/test/dead-strip-attributes.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/dead-strip-basic.objtxt (from r189719, lld/trunk/test/dead-strip-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/dead-strip-basic.objtxt?p2=lld/trunk/test/core/dead-strip-basic.objtxt&p1=lld/trunk/test/dead-strip-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/dead-strip-globals.objtxt (from r189719, lld/trunk/test/dead-strip-globals.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/dead-strip-globals.objtxt?p2=lld/trunk/test/core/dead-strip-globals.objtxt&p1=lld/trunk/test/dead-strip-globals.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/empty.objtxt (from r189719, lld/trunk/test/empty.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/empty.objtxt?p2=lld/trunk/test/core/empty.objtxt&p1=lld/trunk/test/empty.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-atom-attribute.objtxt (from r189719, lld/trunk/test/error-atom-attribute.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-attribute.objtxt?p2=lld/trunk/test/core/error-atom-attribute.objtxt&p1=lld/trunk/test/error-atom-attribute.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-atom-content-byte-value.objtxt (from r189719, lld/trunk/test/error-atom-content-byte-value.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-content-byte-value.objtxt?p2=lld/trunk/test/core/error-atom-content-byte-value.objtxt&p1=lld/trunk/test/error-atom-content-byte-value.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-atom-content-bytes.objtxt (from r189719, lld/trunk/test/error-atom-content-bytes.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-content-bytes.objtxt?p2=lld/trunk/test/core/error-atom-content-bytes.objtxt&p1=lld/trunk/test/error-atom-content-bytes.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-atom-type.objtxt (from r189719, lld/trunk/test/error-atom-type.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-type.objtxt?p2=lld/trunk/test/core/error-atom-type.objtxt&p1=lld/trunk/test/error-atom-type.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt (from r189719, lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt?p2=lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt&p1=lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-file-attribute.objtxt (from r189719, lld/trunk/test/error-file-attribute.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-file-attribute.objtxt?p2=lld/trunk/test/core/error-file-attribute.objtxt&p1=lld/trunk/test/error-file-attribute.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-fixup-attribute.objtxt (from r189719, lld/trunk/test/error-fixup-attribute.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-fixup-attribute.objtxt?p2=lld/trunk/test/core/error-fixup-attribute.objtxt&p1=lld/trunk/test/error-fixup-attribute.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/error-fixup-target.objtxt (from r189719, lld/trunk/test/error-fixup-target.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-fixup-target.objtxt?p2=lld/trunk/test/core/error-fixup-target.objtxt&p1=lld/trunk/test/error-fixup-target.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/fixups-addend.objtxt (from r189719, lld/trunk/test/fixups-addend.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/fixups-addend.objtxt?p2=lld/trunk/test/core/fixups-addend.objtxt&p1=lld/trunk/test/fixups-addend.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/fixups-dup-named.objtxt (from r189719, lld/trunk/test/fixups-dup-named.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/fixups-dup-named.objtxt?p2=lld/trunk/test/core/fixups-dup-named.objtxt&p1=lld/trunk/test/fixups-dup-named.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/fixups-named.objtxt (from r189719, lld/trunk/test/fixups-named.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/fixups-named.objtxt?p2=lld/trunk/test/core/fixups-named.objtxt&p1=lld/trunk/test/fixups-named.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/fixups-unnamed.objtxt (from r189719, lld/trunk/test/fixups-unnamed.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/fixups-unnamed.objtxt?p2=lld/trunk/test/core/fixups-unnamed.objtxt&p1=lld/trunk/test/fixups-unnamed.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/ingroup-test-big.objtxt (from r189719, lld/trunk/test/ingroup-test-big.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/ingroup-test-big.objtxt?p2=lld/trunk/test/core/ingroup-test-big.objtxt&p1=lld/trunk/test/ingroup-test-big.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/ingroup-test-loop.objtxt (from r189719, lld/trunk/test/ingroup-test-loop.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/ingroup-test-loop.objtxt?p2=lld/trunk/test/core/ingroup-test-loop.objtxt&p1=lld/trunk/test/ingroup-test-loop.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/ingroup-test-with-layout-after.objtxt (from r189719, lld/trunk/test/ingroup-test-with-layout-after.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/ingroup-test-with-layout-after.objtxt?p2=lld/trunk/test/core/ingroup-test-with-layout-after.objtxt&p1=lld/trunk/test/ingroup-test-with-layout-after.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/ingroup-test.objtxt (from r189719, lld/trunk/test/ingroup-test.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/ingroup-test.objtxt?p2=lld/trunk/test/core/ingroup-test.objtxt&p1=lld/trunk/test/ingroup-test.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/inline-coalesce.objtxt (from r189719, lld/trunk/test/inline-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/inline-coalesce.objtxt?p2=lld/trunk/test/core/inline-coalesce.objtxt&p1=lld/trunk/test/inline-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/layout-error-test.objtxt (from r189719, lld/trunk/test/layout-error-test.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/layout-error-test.objtxt?p2=lld/trunk/test/core/layout-error-test.objtxt&p1=lld/trunk/test/layout-error-test.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/layoutafter-test.objtxt (from r189719, lld/trunk/test/layoutafter-test.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/layoutafter-test.objtxt?p2=lld/trunk/test/core/layoutafter-test.objtxt&p1=lld/trunk/test/layoutafter-test.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/layoutbefore-test.objtxt (from r189719, lld/trunk/test/layoutbefore-test.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/layoutbefore-test.objtxt?p2=lld/trunk/test/core/layoutbefore-test.objtxt&p1=lld/trunk/test/layoutbefore-test.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/multiple-def-error.objtxt (from r189719, lld/trunk/test/multiple-def-error.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/multiple-def-error.objtxt?p2=lld/trunk/test/core/multiple-def-error.objtxt&p1=lld/trunk/test/multiple-def-error.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/pass-got-basic.objtxt (from r189719, lld/trunk/test/pass-got-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/pass-got-basic.objtxt?p2=lld/trunk/test/core/pass-got-basic.objtxt&p1=lld/trunk/test/pass-got-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/pass-stubs-basic.objtxt (from r189719, lld/trunk/test/pass-stubs-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/pass-stubs-basic.objtxt?p2=lld/trunk/test/core/pass-stubs-basic.objtxt&p1=lld/trunk/test/pass-stubs-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/permissions.objtxt (from r189719, lld/trunk/test/permissions.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/permissions.objtxt?p2=lld/trunk/test/core/permissions.objtxt&p1=lld/trunk/test/permissions.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/section-position.objtxt (from r189719, lld/trunk/test/section-position.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/section-position.objtxt?p2=lld/trunk/test/core/section-position.objtxt&p1=lld/trunk/test/section-position.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/shared-library-basic.objtxt (from r189719, lld/trunk/test/shared-library-basic.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/shared-library-basic.objtxt?p2=lld/trunk/test/core/shared-library-basic.objtxt&p1=lld/trunk/test/shared-library-basic.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/shared-library-coalesce.objtxt (from r189719, lld/trunk/test/shared-library-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/shared-library-coalesce.objtxt?p2=lld/trunk/test/core/shared-library-coalesce.objtxt&p1=lld/trunk/test/shared-library-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/tent-merge.objtxt (from r189719, lld/trunk/test/tent-merge.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/tent-merge.objtxt?p2=lld/trunk/test/core/tent-merge.objtxt&p1=lld/trunk/test/tent-merge.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/undef-coalesce-error.objtxt (from r189719, lld/trunk/test/undef-coalesce-error.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/undef-coalesce-error.objtxt?p2=lld/trunk/test/core/undef-coalesce-error.objtxt&p1=lld/trunk/test/undef-coalesce-error.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/undef-coalesce.objtxt (from r189719, lld/trunk/test/undef-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/undef-coalesce.objtxt?p2=lld/trunk/test/core/undef-coalesce.objtxt&p1=lld/trunk/test/undef-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/undef-weak-coalesce.objtxt (from r189719, lld/trunk/test/undef-weak-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/undef-weak-coalesce.objtxt?p2=lld/trunk/test/core/undef-weak-coalesce.objtxt&p1=lld/trunk/test/undef-weak-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/core/weak-coalesce.objtxt (from r189719, lld/trunk/test/weak-coalesce.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/weak-coalesce.objtxt?p2=lld/trunk/test/core/weak-coalesce.objtxt&p1=lld/trunk/test/weak-coalesce.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/cstring-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/cstring-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/cstring-coalesce.objtxt (original)
+++ lld/trunk/test/cstring-coalesce.objtxt (removed)
@@ -1,41 +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 ]
----
-defined-atoms:
- - ref-name: L2
- type: c-string
- merge: by-content
- content: [ 68, 65, 6c, 6c, 6f, 00 ]
----
-defined-atoms:
- - ref-name: L2
- 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: ...
-
-
Removed: lld/trunk/test/custom-section.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/custom-section.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/custom-section.objtxt (original)
+++ lld/trunk/test/custom-section.objtxt (removed)
@@ -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: ...
Removed: lld/trunk/test/dead-strip-attributes.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/dead-strip-attributes.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/dead-strip-attributes.objtxt (original)
+++ lld/trunk/test/dead-strip-attributes.objtxt (removed)
@@ -1,29 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that dead strip attributes are preserved
-#
-
----
-defined-atoms:
- - name: _foo1
- dead-strip: normal
----
-defined-atoms:
- - name: _foo2
- dead-strip: never
----
-defined-atoms:
- - name: _foo3
- dead-strip: always
-...
-
-
-# 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: ...
Removed: lld/trunk/test/dead-strip-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/dead-strip-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/dead-strip-basic.objtxt (original)
+++ lld/trunk/test/dead-strip-basic.objtxt (removed)
@@ -1,62 +0,0 @@
-# RUN: lld -core --dead-strip %s | FileCheck -check-prefix=CHK1 %s
-# RUN: lld -core %s | 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
----
-defined-atoms:
- - name: mydead2
- scope: global
- type: data
-
- - name: bar
- scope: global
- type: data
----
-defined-atoms:
- - name: baz
- scope: global
- type: code
-
- - name: mydead3
- type: code
-...
-
-
-# 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: ...
Removed: lld/trunk/test/dead-strip-globals.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/dead-strip-globals.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/dead-strip-globals.objtxt (original)
+++ lld/trunk/test/dead-strip-globals.objtxt (removed)
@@ -1,60 +0,0 @@
-# RUN: lld -core --dead-strip --keep-globals %s | FileCheck -check-prefix=CHK1 %s
-# RUN: lld -core --dead-strip %s | 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
----
-defined-atoms:
- - name: myglobal2
- scope: global
- type: data
-
- - name: bar
- scope: hidden
- type: data
----
-defined-atoms:
- - name: baz
- scope: hidden
- type: code
-
- - name: mydead
- type: code
-...
-
-
-# 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: ...
Removed: lld/trunk/test/elf/abs.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/abs.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/abs.objtxt (original)
+++ lld/trunk/test/elf/abs.objtxt (removed)
@@ -1,19 +0,0 @@
-#
-# Source File:
-# .local absGlobalSymbol
-# .set absLocalSymbol,0xC0000
-# .type absLocalSymbol, @object
-# .globl absGlobalSymbol
-# .set absGlobalSymbol,0xD0000
-# .type absGlobalSymbol, @object
-
-# built using: "gcc -m32"
-#
-RUN: lld -flavor gnu -emit-yaml -r %p/Inputs/abs-test.i386 | FileCheck -check-prefix=YAML %s
-
-YAML: absolute-atoms:
-YAML: - name: absLocalSymbol
-YAML: value: {{0x[0]+C0000}}
-YAML: - name: absGlobalSymbol
-YAML: scope: global
-YAML: value: {{0x[0]+D0000}}
Copied: lld/trunk/test/elf/abs.test (from r189719, lld/trunk/test/elf/abs.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/abs.test?p2=lld/trunk/test/elf/abs.test&p1=lld/trunk/test/elf/abs.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/archive-elf-forceload.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/archive-elf-forceload.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/archive-elf-forceload.objtxt (original)
+++ lld/trunk/test/elf/archive-elf-forceload.objtxt (removed)
@@ -1,43 +0,0 @@
-# Tests the functionality of archive libraries reading
-# and resolution
-# Note: The binary files would not be required once we have support to generate
-# binary archives from textual(yaml) input
-#
-# Tests generated using the source files below
-# main file
-# int main()
-# {
-# fn();
-# return 0;
-# }
-#
-# archive file
-# int fn()
-# {
-# return 0;
-# }
-#
-# int fn1()
-# {
-# return 0;
-# }
-# gcc -c main.c fn.c fn1.c
-
-RUN: lld -flavor gnu -target x86_64-linux -e main %p/Inputs/mainobj.x86_64 \
-RUN: %p/Inputs/libfnarchive.a -all_load -emit-yaml \
-RUN: | FileCheck -check-prefix FORCELOAD %s
-
-FORCELOAD: defined-atoms:
-FORCELOAD: - name: fn1
-FORCELOAD: scope: global
-FORCELOAD: content: [ 55, 48, 89, E5, B8, 00, 00, 00, 00, 5D, C3 ]
-FORCELOAD: - name: fn
-FORCELOAD: scope: global
-FORCELOAD: content: [ 55, 48, 89, E5, B8, 00, 00, 00, 00, 5D, C3 ]
-FORCELOAD: absolute-atoms:
-FORCELOAD: - name: main.c
-FORCELOAD: value: 0x0
-FORCELOAD: - name: fn1.c
-FORCELOAD: value: 0x0
-FORCELOAD: - name: fn.c
-FORCELOAD: value: 0x0
Copied: lld/trunk/test/elf/archive-elf-forceload.test (from r189719, lld/trunk/test/elf/archive-elf-forceload.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/archive-elf-forceload.test?p2=lld/trunk/test/elf/archive-elf-forceload.test&p1=lld/trunk/test/elf/archive-elf-forceload.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/archive-elf.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/archive-elf.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/archive-elf.objtxt (original)
+++ lld/trunk/test/elf/archive-elf.objtxt (removed)
@@ -1,36 +0,0 @@
-# Tests the functionality of archive libraries reading
-# and resolution
-# Note: The binary files would not be required once we have support to generate
-# binary archives from textual(yaml) input
-#
-# Tests generated using the source files below
-# main file
-# int main()
-# {
-# fn();
-# return 0;
-# }
-#
-# archive file
-# int fn()
-# {
-# return 0;
-# }
-#
-# int fn1()
-# {
-# return 0;
-# }
-# gcc -c main.c fn.c fn1.c
-
-RUN: lld -flavor gnu -emit-yaml -r %p/Inputs/mainobj.x86_64 %p/Inputs/libfnarchive.a | FileCheck -check-prefix NOFORCELOAD %s
-
-NOFORCELOAD: defined-atoms:
-NOFORCELOAD: - name: fn
-NOFORCELOAD: scope: global
-NOFORCELOAD: content: [ 55, 48, 89, E5, B8, 00, 00, 00, 00, 5D, C3 ]
-NOFORCELOAD: absolute-atoms:
-NOFORCELOAD: - name: main.c
-NOFORCELOAD: value: 0x0
-NOFORCELOAD: - name: fn.c
-NOFORCELOAD: value: 0x0
Copied: lld/trunk/test/elf/archive-elf.test (from r189719, lld/trunk/test/elf/archive-elf.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/archive-elf.test?p2=lld/trunk/test/elf/archive-elf.test&p1=lld/trunk/test/elf/archive-elf.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/branch.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/branch.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/branch.objtxt (original)
+++ lld/trunk/test/elf/branch.objtxt (removed)
@@ -1,34 +0,0 @@
-RUN: lld -flavor gnu -target hexagon -static -emit-yaml \
-RUN: %p/Inputs/branch-test.hexagon %p/Inputs/target-test.hexagon --noinhibit-exec | FileCheck %s -check-prefix hexagon-yaml
-RUN: lld -flavor gnu -target hexagon -e target -o %t1 \
-RUN: %p/Inputs/branch-test.hexagon %p/Inputs/target-test.hexagon --noinhibit-exec
-RUN: llvm-readobj -h %t1 | FileCheck -check-prefix=hexagon-readobj %s
-
-hexagon-yaml: - name: back
-hexagon-yaml: scope: global
-hexagon-yaml: content: [ 00, C0, 00, 7F, 00, C0, 00, 5A, 00, 00, 00, 00,
-hexagon-yaml: 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00 ]
-hexagon-yaml: references:
-hexagon-yaml: - kind:
-hexagon-yaml: offset: 4
-hexagon-yaml: target: target
-
-hexagon-yaml: - name: target
-hexagon-yaml: scope: global
-hexagon-yaml: content: [ 00, C0, 00, 5A ]
-hexagon-yaml: references:
-hexagon-yaml: - kind:
-hexagon-yaml: offset: 0
-hexagon-yaml: target: back
-
-
-hexagon-readobj: ElfHeader {
-hexagon-readobj: Ident {
-hexagon-readobj: Class: 32-bit (0x1)
-hexagon-readobj: DataEncoding: LittleEndian (0x1)
-hexagon-readobj: FileVersion: 1
-hexagon-readobj: OS/ABI: SystemV (0x0)
-hexagon-readobj: ABIVersion: 0
-hexagon-readobj: }
-hexagon-readobj: Type: Executable (0x2)
-hexagon-readobj: Machine: EM_HEXAGON (0xA4)
Copied: lld/trunk/test/elf/branch.test (from r189719, lld/trunk/test/elf/branch.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/branch.test?p2=lld/trunk/test/elf/branch.test&p1=lld/trunk/test/elf/branch.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/check.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/check.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/check.objtxt (original)
+++ lld/trunk/test/elf/check.objtxt (removed)
@@ -1,113 +0,0 @@
-# This tests the basic functionality of ordering data and functions as they
-# appear in the inputs
-RUN: lld -flavor gnu -target i386 -e global_func --noinhibit-exec -emit-yaml \
-RUN: %p/Inputs/object-test.elf-i386 -o %t
-RUN: FileCheck %s -check-prefix ELF-i386 < %t
-RUN: lld -flavor gnu -target hexagon -e global_func --noinhibit-exec -emit-yaml \
-RUN: %p/Inputs/object-test.elf-hexagon | FileCheck %s -check-prefix ELF-hexagon
-
-ELF-i386:defined-atoms:
-ELF-i386: - name: common_symbol
-ELF-i386: scope: global
-ELF-i386: type: zero-fill
-ELF-i386: merge: as-tentative
-
-ELF-i386: - name: tentative
-ELF-i386: scope: global
-ELF-i386: type: zero-fill
-ELF-i386: merge: as-tentative
-
-ELF-i386: - name: global_func
-ELF-i386: scope: global
-ELF-i386: content: [ 55, 89, E5, 83, EC, 18, C7, 04, 24, 00, 00, 00,
-ELF-i386: 00, E8, FC, FF, FF, FF, C9, C3 ]
-
-ELF-i386: - name: static_func
-ELF-i386: content: [ 55, 89, E5, 83, EC, 18, C7, 04, 24, 07, 00, 00,
-ELF-i386: 00, E8, FC, FF, FF, FF, C9, C3 ]
-
-ELF-i386: - name: weak_func
-ELF-i386: scope: global
-ELF-i386: merge: as-weak
-ELF-i386: content: [ 55, 89, E5, 83, EC, 18, C7, 04, 24, 0E, 00, 00,
-ELF-i386: 00, E8, FC, FF, FF, FF, C9, C3 ]
-
-ELF-i386: - name: hidden_func
-ELF-i386: scope: hidden
-ELF-i386: content: [ 55, 89, E5, 83, EC, 18, C7, 04, 24, 13, 00, 00,
-ELF-i386: 00, E8, FC, FF, FF, FF, C9, C3 ]
-
-ELF-i386: - name: no_dead_strip
-ELF-i386: scope: global
-ELF-i386: content: [ 55, 89, E5, 5D, C3 ]
-
-ELF-i386: - name: no_special_section_func
-ELF-i386: scope: global
-ELF-i386: content: [ 55, 89, E5, 5D, C3 ]
-
-ELF-i386: - name: special_section_func
-ELF-i386: scope: global
-ELF-i386: content: [ 55, 89, E5, 5D, C3 ]
-ELF-i386: section-choice: custom-required
-ELF-i386: section-name: special_section
-
-
-ELF-i386:undefined-atoms:
-ELF-i386: - name: puts
-
-ELF-i386:absolute-atoms:
-ELF-i386: - name: sample.c
-ELF-i386: value: 0x0
-
-ELF-hexagon:defined-atoms:
-
-ELF-hexagon: - name: common_symbol
-ELF-hexagon: scope: global
-ELF-hexagon: type: zero-fill
-ELF-hexagon: merge: as-tentative
-
-ELF-hexagon: - name: tentative
-ELF-hexagon: scope: global
-ELF-hexagon: type: zero-fill
-ELF-hexagon: merge: as-tentative
-
-ELF-hexagon: - name: global_func
-ELF-hexagon: scope: global
-ELF-hexagon: content: [ 00, C0, 9D, A0, 00, 40, 00, 00, 00, C0, 00, 78,
-ELF-hexagon: 00, C0, 00, 5A, 1E, C0, 1E, 96 ]
-
-ELF-hexagon: - name: static_func
-ELF-hexagon: content: [ 00, C0, 9D, A0, 00, 40, 00, 00, 00, C0, 00, 78,
-ELF-hexagon: 00, C0, 00, 5A, 1E, C0, 1E, 96 ]
-
-ELF-hexagon: - name: weak_func
-ELF-hexagon: scope: global
-ELF-hexagon: merge: as-weak
-ELF-hexagon: content: [ 00, C0, 9D, A0, 00, 40, 00, 00, 00, C0, 00, 78,
-ELF-hexagon: 00, C0, 00, 5A, 1E, C0, 1E, 96 ]
-
-ELF-hexagon: - name: hidden_func
-ELF-hexagon: scope: hidden
-ELF-hexagon: content: [ 00, C0, 9D, A0, 00, 40, 00, 00, 00, C0, 00, 78,
-ELF-hexagon: 00, C0, 00, 5A, 1E, C0, 1E, 96 ]
-
-ELF-hexagon: - name: no_dead_strip
-ELF-hexagon: scope: global
-ELF-hexagon: content: [ 00, C0, 9D, A0, 1E, C0, 1E, 96 ]
-
-ELF-hexagon: - name: no_special_section_func
-ELF-hexagon: scope: global
-ELF-hexagon: content: [ 00, C0, 9D, A0, 1E, C0, 1E, 96 ]
-
-ELF-hexagon: - name: special_section_func
-ELF-hexagon: scope: global
-ELF-hexagon: content: [ 00, C0, 9D, A0, 1E, C0, 1E, 96 ]
-ELF-hexagon: section-choice: custom-required
-ELF-hexagon: section-name: special_section
-
-ELF-hexagon: undefined-atoms:
-ELF-hexagon: - name: puts
-
-ELF-hexagon: absolute-atoms:
-ELF-hexagon: - name: sample.c
-ELF-hexagon: value: 0x0
Copied: lld/trunk/test/elf/check.test (from r189719, lld/trunk/test/elf/check.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/check.test?p2=lld/trunk/test/elf/check.test&p1=lld/trunk/test/elf/check.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Copied: lld/trunk/test/elf/checkrodata.test (from r189719, lld/trunk/test/elf/rodata.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/checkrodata.test?p2=lld/trunk/test/elf/checkrodata.test&p1=lld/trunk/test/elf/rodata.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/mergeatoms.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/mergeatoms.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/mergeatoms.objtxt (original)
+++ lld/trunk/test/elf/mergeatoms.objtxt (removed)
@@ -1,6 +0,0 @@
-# Tests that atoms are merged by testing it with --merge-strings option
-RUN: lld -flavor gnu --merge-strings -o %t1 \
-RUN: %p/Inputs/foo.o.x86-64 %p/Inputs/bar.o.x86-64 -e bar1
-RUN: llvm-objdump -s %t1 | FileCheck -check-prefix=mergeAtoms %s
-
-mergeAtoms: 62617200 666f6f00 bar.foo.
Copied: lld/trunk/test/elf/mergeatoms.test (from r189719, lld/trunk/test/elf/mergeatoms.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/mergeatoms.test?p2=lld/trunk/test/elf/mergeatoms.test&p1=lld/trunk/test/elf/mergeatoms.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/mergeconstants.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/mergeconstants.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/mergeconstants.objtxt (original)
+++ lld/trunk/test/elf/mergeconstants.objtxt (removed)
@@ -1,23 +0,0 @@
-# The test checks for mergeable strings that appear in the object file
-RUN: lld -flavor gnu --merge-strings -emit-yaml %p/Inputs/constants-merge.x86-64 --noinhibit-exec | FileCheck -check-prefix=mergeAtoms %s
-
-mergeAtoms: - ref-name: [[CONSTANT:[-a-zA-Z0-9_]+]]
-mergeAtoms: type: constant
-mergeAtoms: content: [ 62, 61, 72, 66, 6F, 6F, 00 ]
-mergeAtoms: merge: by-content
-mergeAtoms: section-choice: custom-required
-mergeAtoms: section-name: .rodata.str1.1
-mergeAtoms: - name: foo
-mergeAtoms: scope: global
-mergeAtoms: type: data
-mergeAtoms: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
-mergeAtoms: alignment: 2^3
-mergeAtoms: section-choice: custom-required
-mergeAtoms: section-name: .data
-mergeAtoms: references:
-mergeAtoms: - kind: R_X86_64_64
-mergeAtoms: offset: 3
-mergeAtoms: target: [[CONSTANT]]
-mergeAtoms: - kind: layout-before
-mergeAtoms: offset: 0
-mergeAtoms: target: bar
Copied: lld/trunk/test/elf/mergeconstants.test (from r189719, lld/trunk/test/elf/mergeconstants.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/mergeconstants.test?p2=lld/trunk/test/elf/mergeconstants.test&p1=lld/trunk/test/elf/mergeconstants.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/phdr.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/phdr.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/phdr.objtxt (original)
+++ lld/trunk/test/elf/phdr.objtxt (removed)
@@ -1,87 +0,0 @@
-# This test checks emission for program header for ELF binaries
-RUN: lld -flavor gnu -target i386-linux -o %t1 -e main %p/Inputs/phdr.i386 \
-RUN: && llvm-readobj -program-headers %t1 | FileCheck -check-prefix=I386 %s
-RUN: lld -flavor gnu -target x86_64-linux -o %t1 -e _start %p/Inputs/relocs.x86-64 -static \
-RUN: && llvm-objdump -p %t1 | FileCheck %s -check-prefix=X86_64
-
-
-I386: ProgramHeaders [
-I386-NEXT: ProgramHeader {
-I386-NEXT: Type: PT_PHDR (0x6)
-I386-NEXT: Offset: 0x34
-I386-NEXT: VirtualAddress: 0x34
-I386-NEXT: PhysicalAddress: 0x34
-I386-NEXT: FileSize: 192
-I386-NEXT: MemSize: 192
-I386-NEXT: Flags [ (0x5)
-I386-NEXT: PF_R (0x4)
-I386-NEXT: PF_X (0x1)
-I386-NEXT: ]
-I386-NEXT: Alignment: 8
-I386-NEXT: }
-I386-NEXT: ProgramHeader {
-I386-NEXT: Type: PT_INTERP (0x3)
-I386-NEXT: Offset: 0xF4
-I386-NEXT: VirtualAddress: 0xF4
-I386-NEXT: PhysicalAddress: 0xF4
-I386-NEXT: FileSize: 28
-I386-NEXT: MemSize: 28
-I386-NEXT: Flags [ (0x4)
-I386-NEXT: PF_R (0x4)
-I386-NEXT: ]
-I386-NEXT: Alignment: 1
-I386-NEXT: }
-I386-NEXT: ProgramHeader {
-I386-NEXT: Type: PT_LOAD (0x1)
-I386-NEXT: Offset: 0x0
-I386-NEXT: VirtualAddress: 0x0
-I386-NEXT: PhysicalAddress: 0x0
-I386-NEXT: FileSize: 532
-I386-NEXT: MemSize: 532
-I386-NEXT: Flags [ (0x5)
-I386-NEXT: PF_R (0x4)
-I386-NEXT: PF_X (0x1)
-I386-NEXT: ]
-I386-NEXT: Alignment: 4096
-I386-NEXT: }
-I386-NEXT: ProgramHeader {
-I386-NEXT: Type: PT_LOAD (0x1)
-I386-NEXT: Offset: 0x1000
-I386-NEXT: VirtualAddress: 0x1000
-I386-NEXT: PhysicalAddress: 0x1000
-I386-NEXT: FileSize: 260
-I386-NEXT: MemSize: 4
-I386-NEXT: Flags [ (0x6)
-I386-NEXT: PF_R (0x4)
-I386-NEXT: PF_W (0x2)
-I386-NEXT: ]
-I386-NEXT: Alignment: 4096
-I386-NEXT: }
-I386-NEXT: ProgramHeader {
-I386-NEXT: Type: PT_LOAD (0x1)
-I386-NEXT: Offset: 0x4000
-I386-NEXT: VirtualAddress: 0x4000
-I386-NEXT: PhysicalAddress: 0x4000
-I386-NEXT: FileSize: 4
-I386-NEXT: MemSize: 16392
-I386-NEXT: Flags [ (0x6)
-I386-NEXT: PF_R (0x4)
-I386-NEXT: PF_W (0x2)
-I386-NEXT: ]
-I386-NEXT: Alignment: 4096
-I386-NEXT: }
-I386-NEXT: ProgramHeader {
-I386-NEXT: Type: PT_DYNAMIC (0x2)
-I386-NEXT: Offset: 0x1E4
-I386-NEXT: VirtualAddress: 0x1E4
-I386-NEXT: PhysicalAddress: 0x1E4
-I386-NEXT: FileSize: 48
-I386-NEXT: MemSize: 48
-I386-NEXT: Flags [ (0x4)
-I386-NEXT: PF_R (0x4)
-I386-NEXT: ]
-I386-NEXT: Alignment: 4
-I386-NEXT: }
-
-X86_64: LOAD off 0x0000000000000000
-X86_64: LOAD off 0x0000000000001000
Copied: lld/trunk/test/elf/phdr.test (from r189719, lld/trunk/test/elf/phdr.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/phdr.test?p2=lld/trunk/test/elf/phdr.test&p1=lld/trunk/test/elf/phdr.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/ppc.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/ppc.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/ppc.objtxt (original)
+++ lld/trunk/test/elf/ppc.objtxt (removed)
@@ -1,14 +0,0 @@
-RUN: lld -flavor gnu -target powerpc %p/Inputs/branch-test.ppc %p/Inputs/target-test.ppc -o %t1 --noinhibit-exec
-RUN: llvm-readobj -h %t1 | FileCheck -check-prefix=ppc-readobj %s
-
-
-ppc-readobj: ElfHeader {
-ppc-readobj: Ident {
-ppc-readobj: Class: 32-bit (0x1)
-ppc-readobj: DataEncoding: BigEndian (0x2)
-ppc-readobj: FileVersion: 1
-ppc-readobj: OS/ABI: SystemV (0x0)
-ppc-readobj: ABIVersion: 0
-ppc-readobj: }
-ppc-readobj: Type: Executable (0x2)
-ppc-readobj: Machine: EM_PPC (0x14)
Copied: lld/trunk/test/elf/ppc.test (from r189719, lld/trunk/test/elf/ppc.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/ppc.test?p2=lld/trunk/test/elf/ppc.test&p1=lld/trunk/test/elf/ppc.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/reloc.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/reloc.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/reloc.objtxt (original)
+++ lld/trunk/test/elf/reloc.objtxt (removed)
@@ -1,40 +0,0 @@
-RUN: lld -flavor gnu --merge-strings -r -emit-yaml %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386
-
-ELF-i386: defined-atoms:
-ELF-i386: - ref-name: [[STRNAMEA:[-a-zA-Z0-9_]+]]
-ELF-i386: type: constant
-ELF-i386: content: [ 68, 65, 6C, 6C, 6F, 20, 77, 6F, 72, 6C, 64, 00 ]
-ELF-i386: merge: by-content
-ELF-i386: - ref-name: [[STRNAMEB:[-a-zA-Z0-9_]+]]
-ELF-i386: alignment: 2^4
-ELF-i386: section-choice: custom-required
-ELF-i386: section-name: .text.startup
-ELF-i386: references:
-ELF-i386: - kind: layout-after
-ELF-i386: offset: 0
-ELF-i386: target: main
-ELF-i386: - name: main
-ELF-i386: scope: global
-ELF-i386: content: [ 55, 89, E5, 83, E4, F0, 83, EC, 10, C7, 04, 24,
-ELF-i386: 00, 00, 00, 00, E8, FC, FF, FF, FF, 31, C0, C9,
-ELF-i386: C3 ]
-ELF-i386: alignment: 2^4
-ELF-i386: section-choice: custom-required
-ELF-i386: section-name: .text.startup
-ELF-i386: references:
-ELF-i386: - kind: R_X86_64_64
-ELF-i386: offset: 12
-ELF-i386: target: [[STRNAMEA]]
-ELF-i386: - kind: R_X86_64_PC32
-ELF-i386: offset: 17
-ELF-i386: target: puts
-ELF-i386: addend: 252
-ELF-i386: - kind: layout-before
-ELF-i386: offset: 0
-ELF-i386: target: [[STRNAMEB]]
-ELF-i386: undefined-atoms:
-ELF-i386: - name: puts
-ELF-i386: absolute-atoms:
-ELF-i386: - name: test.c
-ELF-i386: scope: static
-ELF-i386: value: 0x0000000000000000
Copied: lld/trunk/test/elf/reloc.test (from r189719, lld/trunk/test/elf/reloc.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/reloc.test?p2=lld/trunk/test/elf/reloc.test&p1=lld/trunk/test/elf/reloc.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/rodata.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/rodata.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/rodata.objtxt (original)
+++ lld/trunk/test/elf/rodata.objtxt (removed)
@@ -1,9 +0,0 @@
-
-RUN: lld -flavor gnu -target i386 -o %t1 %p/Inputs/rodata-test.i386 --noinhibit-exec
-RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix=i386 %s
-RUN: lld -flavor gnu -target hexagon -o %t2 %p/Inputs/rodata-test.hexagon --noinhibit-exec
-RUN: llvm-objdump -section-headers %t2 | FileCheck -check-prefix=hexagon %s
-
-i386: .rodata 00000004 0000000000000114 DATA
-
-hexagon: .rodata 00000004 0000000000000114 DATA
Removed: lld/trunk/test/elf/sections.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/sections.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/sections.objtxt (original)
+++ lld/trunk/test/elf/sections.objtxt (removed)
@@ -1,142 +0,0 @@
-# This test checks if sections are created properly in the output that appear in
-# the input
-RUN: lld -flavor gnu -target i386 -o %t1 %p/Inputs/section-test.i386 \
-RUN: -static -e baz
-RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix=OBJDUMP %s
-RUN: llvm-readobj -h -s -t %t1 | FileCheck -check-prefix=READOBJ %s
-
-OBJDUMP: 0 00000000 0000000000000000
-OBJDUMP: 1 .text 0000000a 0000000000000074 TEXT DATA
-OBJDUMP: 2 .data 00000004 0000000000001000 DATA
-OBJDUMP: 3 .special 00000004 0000000000001004 DATA
-OBJDUMP: 4 .anotherspecial 00000004 0000000000001008 DATA
-OBJDUMP: 5 .bss 00000004 000000000000100c BSS
-OBJDUMP: 6 .shstrtab {{[0-9a-f]+}} 0000000000000000
-OBJDUMP: 7 .symtab {{[0-9a-f]+}} 0000000000000000
-OBJDUMP: 8 .strtab {{[0-9a-f]+}} 0000000000000000
-
-READOBJ: Format: ELF32-i386
-READOBJ: Arch: i386
-READOBJ: AddressSize: 32bit
-READOBJ: ElfHeader {
-READOBJ: Ident {
-READOBJ: DataEncoding: LittleEndian (0x1)
-READOBJ: }
-READOBJ: Machine: EM_386
-READOBJ: }
-
-READOBJ: Sections [
-READOBJ: Section {
-READOBJ: Index: 0
-READOBJ: Name: (0)
-READOBJ: Type: SHT_NULL
-READOBJ: Flags [ (0x0)
-READOBJ: ]
-READOBJ: Address: 0x0
-READOBJ: Size: 0
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 1
-READOBJ: Name: .text
-READOBJ: Type: SHT_PROGBITS
-READOBJ: Flags [ (0x6)
-READOBJ: SHF_ALLOC
-READOBJ: SHF_EXECINSTR
-READOBJ: ]
-READOBJ: Address: 0x74
-READOBJ: Size: 10
-READOBJ: AddressAlignment: 4
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 2
-READOBJ: Name: .data
-READOBJ: Type: SHT_PROGBITS
-READOBJ: Flags [ (0x3)
-READOBJ: SHF_ALLOC
-READOBJ: SHF_WRITE
-READOBJ: ]
-READOBJ: Address: 0x1000
-READOBJ: Size: 4
-READOBJ: AddressAlignment: 4
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 3
-READOBJ: Name: .special
-READOBJ: Type: SHT_PROGBITS
-READOBJ: Flags [ (0x3)
-READOBJ: SHF_ALLOC
-READOBJ: SHF_WRITE
-READOBJ: ]
-READOBJ: Address: 0x1004
-READOBJ: Size: 4
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 4
-READOBJ: Name: .anotherspecial
-READOBJ: Type: SHT_PROGBITS
-READOBJ: Flags [ (0x3)
-READOBJ: SHF_ALLOC
-READOBJ: SHF_WRITE
-READOBJ: ]
-READOBJ: Address: 0x1008
-READOBJ: Size: 4
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 5
-READOBJ: Name: .bss
-READOBJ: Type: SHT_NOBITS
-READOBJ: Flags [ (0x3)
-READOBJ: SHF_ALLOC
-READOBJ: SHF_WRITE
-READOBJ: ]
-READOBJ: Address: 0x100C
-READOBJ: Size: 4
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 6
-READOBJ: Name: .shstrtab
-READOBJ: Type: SHT_STRTAB
-READOBJ: Flags [ (0x0)
-READOBJ: ]
-READOBJ: Address: 0x0
-READOBJ: Link: 0
-READOBJ: AddressAlignment: 1
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 7
-READOBJ: Name: .symtab
-READOBJ: Type: SHT_SYMTAB
-READOBJ: Flags [ (0x0)
-READOBJ: ]
-READOBJ: Address: 0x0
-READOBJ: Link: 8
-READOBJ: AddressAlignment: 4
-READOBJ: EntrySize: 16
-READOBJ: }
-READOBJ: Section {
-READOBJ: Index: 8
-READOBJ: Name: .strtab
-READOBJ: Type: SHT_STRTAB
-READOBJ: Flags [ (0x0)
-READOBJ: ]
-READOBJ: Address: 0x0
-READOBJ: }
-READOBJ: ]
-
-READOBJ: Symbols [
-READOBJ: Symbol {
-READOBJ: Name: baz
-READOBJ: Value: 0x74
-READOBJ: Size: 10
-READOBJ: Binding: Global
-READOBJ: Type: Function
-READOBJ: Section: .text
-READOBJ: }
-READOBJ: Symbol {
-READOBJ: Name: y
-READOBJ: Value: 0x1004
-READOBJ: Size: 4
-READOBJ: Binding: Global
-READOBJ: Type: Object
-READOBJ: Section: .special
-READOBJ: }
Copied: lld/trunk/test/elf/sections.test (from r189719, lld/trunk/test/elf/sections.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/sections.test?p2=lld/trunk/test/elf/sections.test&p1=lld/trunk/test/elf/sections.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/symbols.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/symbols.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/symbols.objtxt (original)
+++ lld/trunk/test/elf/symbols.objtxt (removed)
@@ -1,26 +0,0 @@
-# Tests the functionality of archive libraries reading
-# and resolution
-# Note: The binary files would not be required once we have support to generate
-# binary archives from textual(yaml) input
-#
-# Tests generated using the source files below
-# main file
-#
-#extern int __bss_start __attribute__ ((weak));
-#int a;
-#int main()
-#{
-# return 0;
-#}
-#
-
-RUN: lld -flavor gnu -target i386 -e main %p/Inputs/writersyms.o -o %t1
-RUN: llvm-nm -n %t1 | FileCheck -check-prefix CHECKSYMS %s
-
-CHECKSYMS: 00000000 a 1.c
-CHECKSYMS: 00000114 T main
-CHECKSYMS: 00001000 A __bss_start
-CHECKSYMS: 00001000 B a
-CHECKSYMS: 00001004 A __bss_end
-CHECKSYMS: 00001004 A _end
-CHECKSYMS: 00001004 A end
Copied: lld/trunk/test/elf/symbols.test (from r189719, lld/trunk/test/elf/symbols.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/symbols.test?p2=lld/trunk/test/elf/symbols.test&p1=lld/trunk/test/elf/symbols.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/elf/x86.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/x86.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/elf/x86.objtxt (original)
+++ lld/trunk/test/elf/x86.objtxt (removed)
@@ -1,38 +0,0 @@
-# Source for input file: reloc-xb.x86
-# xb.S:
-# .section .text, "ax", @progbits
-# .align 0x4
-# .globl _start
-# _start:
-# .globl back
-# back:
-# call target
-#
-# Source for input file: reloc-xt.x86
-# xt.S:
-# .section .text, "ax", @progbits
-#
-# .globl target
-# target:
-# call back
-#
-# Assembled with: "as --32"
-
-RUN: lld -flavor gnu -target i386 -e back -emit-yaml %p/Inputs/reloc-xb.x86 %p/Inputs/reloc-xt.x86 | FileCheck %s -check-prefix x86-yaml
-
-x86-yaml: - name: back
-x86-yaml: scope: global
-x86-yaml: content: [ E8, FC, FF, FF, FF ]
-x86-yaml: references:
-x86-yaml: - kind: R_386_PC32
-x86-yaml: offset: 1
-x86-yaml: target: target
-
-x86-yaml: - name: target
-x86-yaml: scope: global
-x86-yaml: content: [ E8, FC, FF, FF, FF ]
-x86-yaml: references:
-x86-yaml: - kind: R_386_PC32
-x86-yaml: offset: 1
-x86-yaml: target: back
-
Copied: lld/trunk/test/elf/x86.test (from r189719, lld/trunk/test/elf/x86.objtxt)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/x86.test?p2=lld/trunk/test/elf/x86.test&p1=lld/trunk/test/elf/x86.objtxt&r1=189719&r2=189720&rev=189720&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/empty.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/empty.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/empty.objtxt (original)
+++ lld/trunk/test/empty.objtxt (removed)
@@ -1,11 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that an empty file is handled properly
-#
-
----
-...
-
-# CHECK: ---
-# CHECK: ...
Removed: lld/trunk/test/error-atom-attribute.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-atom-attribute.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-atom-attribute.objtxt (original)
+++ lld/trunk/test/error-atom-attribute.objtxt (removed)
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# 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
Removed: lld/trunk/test/error-atom-content-byte-value.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-atom-content-byte-value.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-atom-content-byte-value.objtxt (original)
+++ lld/trunk/test/error-atom-content-byte-value.objtxt (removed)
@@ -1,18 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# 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
Removed: lld/trunk/test/error-atom-content-bytes.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-atom-content-bytes.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-atom-content-bytes.objtxt (original)
+++ lld/trunk/test/error-atom-content-bytes.objtxt (removed)
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# 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
-
Removed: lld/trunk/test/error-atom-type.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-atom-type.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-atom-type.objtxt (original)
+++ lld/trunk/test/error-atom-type.objtxt (removed)
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# 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
Removed: lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt (original)
+++ lld/trunk/test/error-atom-undefined-wrong-attribue.objtxt (removed)
@@ -1,17 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# Test that a defined attribute on an undefined atom produces a readable error.
-#
-
----
-undefined-atoms:
- - name: foo
- type: code
-
-...
-
-
-# CHECK: error: unknown key 'type'
-
Removed: lld/trunk/test/error-file-attribute.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-file-attribute.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-file-attribute.objtxt (original)
+++ lld/trunk/test/error-file-attribute.objtxt (removed)
@@ -1,17 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# Test that unknown file attribute produces a readable error.
-#
-
----
-aardvark: true
-defined-atoms:
- - name: entry
- scope: hidden
-
-...
-
-
-# CHECK: error: unknown key 'aardvark'
Removed: lld/trunk/test/error-fixup-attribute.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-fixup-attribute.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-fixup-attribute.objtxt (original)
+++ lld/trunk/test/error-fixup-attribute.objtxt (removed)
@@ -1,21 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# 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'
Removed: lld/trunk/test/error-fixup-target.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/error-fixup-target.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/error-fixup-target.objtxt (original)
+++ lld/trunk/test/error-fixup-target.objtxt (removed)
@@ -1,26 +0,0 @@
-# RUN: not lld -core %s 2> %t.err
-# RUN: FileCheck < %t.err %s
-
-#
-# 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
Removed: lld/trunk/test/fixups-addend.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/fixups-addend.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/fixups-addend.objtxt (original)
+++ lld/trunk/test/fixups-addend.objtxt (removed)
@@ -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
Removed: lld/trunk/test/fixups-dup-named.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/fixups-dup-named.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/fixups-dup-named.objtxt (original)
+++ lld/trunk/test/fixups-dup-named.objtxt (removed)
@@ -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: ...
Removed: lld/trunk/test/fixups-named.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/fixups-named.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/fixups-named.objtxt (original)
+++ lld/trunk/test/fixups-named.objtxt (removed)
@@ -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: ...
-
Removed: lld/trunk/test/fixups-unnamed.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/fixups-unnamed.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/fixups-unnamed.objtxt (original)
+++ lld/trunk/test/fixups-unnamed.objtxt (removed)
@@ -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:
Removed: lld/trunk/test/ingroup-test-big.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ingroup-test-big.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/ingroup-test-big.objtxt (original)
+++ lld/trunk/test/ingroup-test-big.objtxt (removed)
@@ -1,57 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-
----
-defined-atoms:
- - name: A
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: B
- - name: B
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
- - kind: layout-after
- offset: 0
- target: C
- - name: C
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
- - name: E
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: E
- - kind: layout-after
- offset: 0
- target: F
- - name: F
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: E
- - name: D
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
- - kind: layout-after
- offset: 0
- target: E
-...
-
-# CHKORDER: - name: A
-# CHKORDER: - name: B
-# CHKORDER: - name: C
-# CHKORDER: - name: D
-# CHKORDER: - name: E
-# CHKORDER: - name: F
Removed: lld/trunk/test/ingroup-test-loop.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ingroup-test-loop.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/ingroup-test-loop.objtxt (original)
+++ lld/trunk/test/ingroup-test-loop.objtxt (removed)
@@ -1,20 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-
----
-defined-atoms:
- - name: A
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: E
- - name: E
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
-...
-
-# CHKORDER: - name: A
-# CHKORDER: - name: E
Removed: lld/trunk/test/ingroup-test-with-layout-after.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ingroup-test-with-layout-after.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/ingroup-test-with-layout-after.objtxt (original)
+++ lld/trunk/test/ingroup-test-with-layout-after.objtxt (removed)
@@ -1,50 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-
----
-defined-atoms:
- - name: A
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: B
- - name: B
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
- - kind: layout-after
- offset: 0
- target: E
- - name: F
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: E
- - kind: layout-after
- offset: 0
- target: G
- - name: G
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: E
- - name: E
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
- - kind: layout-after
- offset: 0
- target: F
-...
-
-# CHKORDER: - name: A
-# CHKORDER: - name: B
-# CHKORDER: - name: E
-# CHKORDER: - name: F
-# CHKORDER: - name: G
Removed: lld/trunk/test/ingroup-test.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ingroup-test.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/ingroup-test.objtxt (original)
+++ lld/trunk/test/ingroup-test.objtxt (removed)
@@ -1,38 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-
----
-defined-atoms:
- - name: A
- scope: global
-
- - name: B
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
- - name: F
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: E
- - name: G
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: E
- - name: E
- scope: global
- references:
- - kind: in-group
- offset: 0
- target: A
-...
-
-# CHKORDER: - name: A
-# CHKORDER: - name: B
-# CHKORDER: - name: E
-# CHKORDER: - name: F
-# CHKORDER: - name: G
Removed: lld/trunk/test/inline-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/inline-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/inline-coalesce.objtxt (original)
+++ lld/trunk/test/inline-coalesce.objtxt (removed)
@@ -1,31 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that non-inlined inlined functions are silently coalesced
-#
-
----
-defined-atoms:
- - name: _inlineFunc
- scope: global
- type: code
- merge: as-weak
----
-defined-atoms:
- - name: _inlineFunc
- scope: global
- type: code
- merge: as-weak
----
-defined-atoms:
- - name: _inlineFunc
- scope: global
- type: code
- merge: as-weak
-...
-
-
-# CHECK: name: _inlineFunc
-# CHECK: merge: as-weak
-# CHECK-NOT: name: _inlineFunc
-# CHECK: ...
Removed: lld/trunk/test/layout-error-test.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/layout-error-test.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/layout-error-test.objtxt (original)
+++ lld/trunk/test/layout-error-test.objtxt (removed)
@@ -1,22 +0,0 @@
-# REQUIRES: asserts
-# RUN: not lld -core --add-pass layout -mllvm -debug-only=LayoutPass \
-# RUN: %s 2> %t.err
-# RUN: FileCheck %s -check-prefix=CHECK < %t.err
-
----
-defined-atoms:
- - name: fn
- scope: global
- references:
- - kind: layout-before
- offset: 0
- target: fn
- - kind: in-group
- offset: 0
- target: fn
-...
-
-# CHECK: There's a cycle in a follow-on chain!
-# CHECK: fn
-# CHECK: layout-before: fn
-# CHECK: in-group: fn
Removed: lld/trunk/test/layoutafter-test.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/layoutafter-test.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/layoutafter-test.objtxt (original)
+++ lld/trunk/test/layoutafter-test.objtxt (removed)
@@ -1,30 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-
----
-defined-atoms:
- - name: fn3
- scope: global
- - name: fn2
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: fn3
- - name: fn
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: fn1
- - name: fn1
- scope: global
- references:
- - kind: layout-after
- offset: 0
- target: fn2
-...
-
-# CHKORDER: - name: fn
-# CHKORDER: - name: fn1
-# CHKORDER: - name: fn2
-# CHKORDER: - name: fn3
Removed: lld/trunk/test/layoutbefore-test.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/layoutbefore-test.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/layoutbefore-test.objtxt (original)
+++ lld/trunk/test/layoutbefore-test.objtxt (removed)
@@ -1,25 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-
----
-defined-atoms:
- - name: fn
- scope: global
-
- - name: fn1
- scope: global
- references:
- - kind: layout-before
- offset: 0
- target: fn
- - name: fn2
- scope: global
- references:
- - kind: layout-before
- offset: 0
- target: fn1
-...
-
-
-# CHKORDER: - name: fn2
-# CHKORDER: - name: fn1
-# CHKORDER: - name: fn
Removed: lld/trunk/test/multiple-def-error.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/multiple-def-error.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/multiple-def-error.objtxt (original)
+++ lld/trunk/test/multiple-def-error.objtxt (removed)
@@ -1,19 +0,0 @@
-# RUN: not lld -core %s 2>&1 | FileCheck %s
-
-#
-# Test that multiple definitions cause an error
-#
-
-# CHECK: duplicate symbol
-
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
-...
Removed: lld/trunk/test/pass-got-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pass-got-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/pass-got-basic.objtxt (original)
+++ lld/trunk/test/pass-got-basic.objtxt (removed)
@@ -1,82 +0,0 @@
-# RUN: lld -core %s --add-pass GOT | FileCheck %s
-
-#
-# Test that GOT pass instantiates GOT entires and alters references
-#
-
----
-defined-atoms:
- - name: foo
- type: code
- content: [ 48, 8B, 0D, 00, 00, 00, 00,
- 48, 8B, 0D, 00, 00, 00, 00,
- 48, 8B, 0D, 00, 00, 00, 00,
- 48, 83, 3D, 00, 00, 00, 00, 00,
- 48, 83, 3D, 00, 00, 00, 00, 00,
- 48, 83, 3D, 00, 00, 00, 00, 00,
- 48, 83, 3D, 00, 00, 00, 00, 00 ]
- references:
- - offset: 3
- kind: gotLoad32
- target: malloc
- - offset: 10
- kind: gotLoad32
- target: myPrivate
- - offset: 17
- kind: gotLoad32
- target: myInterposable
- - offset: 24
- kind: gotUse32
- target: malloc
- - offset: 32
- kind: gotUse32
- target: myPrivate
- - offset: 40
- kind: gotUse32
- target: myInterposable
-
- - name: myPrivate
- scope: global
- interposable: no
-
- - name: myInterposable
- scope: global
- interposable: yes
-
-shared-library-atoms:
- - name: malloc
- load-name: libc.so
-
-...
-
-# CHECK: defined-atoms:
-# CHECK: name: foo
-# CHECK: references:
-# CHECK: kind: pcrel32
-# CHECK: offset: 3
-# CHECK: target: L
-# CHECK: kind: lea32wasGot
-# CHECK: offset: 10
-# CHECK: target: myPrivate
-# CHECK: kind: pcrel32
-# CHECK: offset: 17
-# CHECK: target: L
-# CHECK: kind: pcrel32
-# CHECK: offset: 24
-# CHECK: target: L
-# CHECK: kind: pcrel32
-# CHECK: offset: 32
-# CHECK: target: L
-# CHECK: kind: pcrel32
-# CHECK: offset: 40
-# CHECK: target: L
-# CHECK: name: myPrivate
-# CHECK: name: myInterposable
-# CHECK: interposable: yes
-# CHECK: name: L
-# CHECK: type: got
-# CHECK: type: got
-# CHECK: type: got
-# CHECK: shared-library-atoms:
-# CHECK: name: malloc
-# CHECK: ...
Removed: lld/trunk/test/pass-stubs-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pass-stubs-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/pass-stubs-basic.objtxt (original)
+++ lld/trunk/test/pass-stubs-basic.objtxt (removed)
@@ -1,47 +0,0 @@
-# RUN: lld -core %s --add-pass stubs | FileCheck %s
-
-#
-# Test that stubs pass adds stubs and rebinds call sites to the stub
-#
-
----
-defined-atoms:
- - name: foo
- type: code
- content: [ E8, 00, 00, 00, 00, E8, 00, 00, 00,
- 00, 48 ,8B, 05, 00, 00, 00, 00 ]
- references:
- - offset: 1
- kind: call32
- target: malloc
- - offset: 6
- kind: call32
- target: free
- - offset: 13
- kind: gotLoad32
- target: malloc
-
-shared-library-atoms:
- - name: malloc
- load-name: libc.so
-
- - name: free
- load-name: libc.so
-
-...
-
-# CHECK: name: foo
-# CHECK: references:
-# CHECK: kind: call32
-# CHECK: target: L
-# CHECK: kind: call32
-# CHECK: target: L
-# CHECK: kind: gotLoad32
-# CHECK: target: malloc
-# CHECK: name: L
-# CHECK: type: stub
-# CHECK: name: L
-# CHECK: type: stub
-# CHECK: name: malloc
-# CHECK: name: free
-# CHECK: ...
Removed: lld/trunk/test/permissions.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/permissions.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/permissions.objtxt (original)
+++ lld/trunk/test/permissions.objtxt (removed)
@@ -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: ...
Removed: lld/trunk/test/section-position.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/section-position.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/section-position.objtxt (original)
+++ lld/trunk/test/section-position.objtxt (removed)
@@ -1,85 +0,0 @@
-# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
-# RUN: lld -core %s | FileCheck %s -check-prefix=CHKUNORD
-
-#
-# Test that atoms with section position requirements are sorted properly.
-#
-
----
-defined-atoms:
- - name: data_end
- type: data
- section-position: end
-
- - name: some_data
- type: data
- content: [ 01, 02 ]
-
- - name: early_data
- type: data
- section-position: early
- content: [ 00, 00, 00, 00 ]
-
- - name: data_start
- type: data
- section-position: start
-
----
-defined-atoms:
- - name: data_end_too
- type: data
- section-position: end
-
- - name: some_more_data
- type: data
- content: [ 03, 04 ]
-
----
-defined-atoms:
- - name: early_data_too
- type: data
- section-position: early
- content: [ 00, 00, 00, 01 ]
-
-...
-
-
-# CHKUNORD: defined-atoms:
-# CHKUNORD: - name: data_end
-# CHKUNORD: section-position: end
-# CHKUNORD: - name: some_data
-# CHKUNORD: content: [ 01, 02 ]
-# CHKUNORD: - name: early_data
-# CHKUNORD: content: [ 00, 00, 00, 00 ]
-# CHKUNORD: section-position: early
-# CHKUNORD: - name: data_start
-# CHKUNORD: section-position: start
-# CHKUNORD: - name: data_end_too
-# CHKUNORD: section-position: end
-# CHKUNORD: - name: some_more_data
-# CHKUNORD: content: [ 03, 04 ]
-# CHKUNORD: - name: early_data_too
-# CHKUNORD: content: [ 00, 00, 00, 01 ]
-# CHKUNORD: section-position: early
-# CHKUNORD: ...
-
-# CHKORDER: defined-atoms:
-# CHKORDER: - name: data_start
-# CHKORDER: section-position: start
-# CHKORDER: - name: early_data
-# CHKORDER: content: [ 00, 00, 00, 00 ]
-# CHKORDER: section-position: early
-# CHKORDER: - name: early_data_too
-# CHKORDER: content: [ 00, 00, 00, 01 ]
-# CHKORDER: section-position: early
-# CHKORDER: - name: some_data
-# CHKORDER: content: [ 01, 02 ]
-# CHKORDER: - name: some_more_data
-# CHKORDER: content: [ 03, 04 ]
-# CHKORDER: - name: data_end
-# CHKORDER: section-position: end
-# CHKORDER: - name: data_end_too
-# CHKORDER: section-position: end
-# CHKORDER: ...
-
-
Removed: lld/trunk/test/shared-library-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/shared-library-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/shared-library-basic.objtxt (original)
+++ lld/trunk/test/shared-library-basic.objtxt (removed)
@@ -1,29 +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
-
- - name: free
- load-name: libc.so
-
- - name: fast_malloc
- load-name: libc.so
- can-be-null: at-runtime
-
-...
-
-# 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: ...
Removed: lld/trunk/test/shared-library-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/shared-library-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/shared-library-coalesce.objtxt (original)
+++ lld/trunk/test/shared-library-coalesce.objtxt (removed)
@@ -1,84 +0,0 @@
-# RUN: lld -core %s | 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
-
----
-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
-
-...
-
-# 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: ...
Removed: lld/trunk/test/tent-merge.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/tent-merge.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/tent-merge.objtxt (original)
+++ lld/trunk/test/tent-merge.objtxt (removed)
@@ -1,25 +0,0 @@
-# RUN: lld -core %s | 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
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
- content: [ 00, 00, 00, 00 ]
-...
-
-
-# CHECK: name: _foo
-# CHECK-NOT: merge: as-tentative
Removed: lld/trunk/test/undef-basic.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/undef-basic.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/undef-basic.objtxt (original)
+++ lld/trunk/test/undef-basic.objtxt (removed)
@@ -1,22 +0,0 @@
-# RUN: lld -flavor gnu -u undefinedsymbol -e entrysymbol %s -emit-yaml \
-# RUN: --noinhibit-exec | FileCheck %s
-
-#
-# Test that we are able to add undefined atoms from the command line
-#
-
----
-absolute-atoms:
- - name: putchar
- value: 0xFFFF0040
-
- - name: reset
- value: 0xFFFF0080
-
-...
-
-
-# CHECK: undefined-atoms:
-# CHECK: - name: entrysymbol
-# CHECK: - name: undefinedsymbol
-# CHECK: can-be-null: at-buildtime
Removed: lld/trunk/test/undef-coalesce-error.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/undef-coalesce-error.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/undef-coalesce-error.objtxt (original)
+++ lld/trunk/test/undef-coalesce-error.objtxt (removed)
@@ -1,47 +0,0 @@
-# RUN: not lld -core --undefines-are-errors %s 2> %t.err
-# RUN: FileCheck -check-prefix=CHECKERR < %t.err %s
-# RUN: lld -core %s | 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
----
-defined-atoms:
- - name: bar
- type: code
-
-undefined-atoms:
- - name: malloc
- - name: myfunc
----
-defined-atoms:
- - name: myfunc
- scope: global
- type: code
-
-undefined-atoms:
- - 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: ...
Removed: lld/trunk/test/undef-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/undef-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/undef-coalesce.objtxt (original)
+++ lld/trunk/test/undef-coalesce.objtxt (removed)
@@ -1,42 +0,0 @@
-# RUN: lld -core %s | 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
----
-defined-atoms:
- - name: bar
- type: code
-
-undefined-atoms:
- - name: malloc
- - name: myfunc
----
-defined-atoms:
- - name: myfunc
- scope: global
- type: code
-
-undefined-atoms:
- - 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: ...
Removed: lld/trunk/test/undef-weak-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/undef-weak-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/undef-weak-coalesce.objtxt (original)
+++ lld/trunk/test/undef-weak-coalesce.objtxt (removed)
@@ -1,93 +0,0 @@
-# RUN: lld -core %s | 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
-
----
-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
-...
-
-# CHECK: name: regular_func
-# CHECK: name: weak_import_func
-# CHECK: can-be-null: at-runtime
-# CHECK: name: weak_func
-# CHECK: can-be-null: at-buildtime
-# CHECK: name: bar1
-# CHECK: name: bar2
-# CHECK: can-be-null: at-runtime
-# CHECK: name: bar3
-# CHECK: can-be-null: at-buildtime
-# CHECK: name: bar4
-# CHECK: name: bar5
-# CHECK: can-be-null: at-runtime
-# CHECK: name: bar7
-# CHECK: name: bar6
-# CHECK: name: bar8
-# CHECK: name: bar9
-# CHECK: can-be-null: at-runtime
-# CHECK: ...
Removed: lld/trunk/test/weak-coalesce.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/weak-coalesce.objtxt?rev=189719&view=auto
==============================================================================
--- lld/trunk/test/weak-coalesce.objtxt (original)
+++ lld/trunk/test/weak-coalesce.objtxt (removed)
@@ -1,30 +0,0 @@
-# RUN: lld -core %s | FileCheck %s
-
-#
-# Test that weak definitions are coalesced away in favor of a regular definition
-#
-
----
-defined-atoms:
- - name: _foo
- merge: as-weak
- scope: global
- type: data
----
-defined-atoms:
- - name: _foo
- scope: global
- type: data
----
-defined-atoms:
- - name: _foo
- merge: as-weak
- scope: global
- type: data
-...
-
-
-# CHECK: name: _foo
-# CHECK-NOT: merge: as-weak
-# CHECK-NOT: name: _foo
-# CHECK: ...
More information about the llvm-commits
mailing list