Files
clang-p2996/lld/test/core/archive-basic.objtxt
Rafael Espindola c08ab8e6e4 Delete unnecessary generality in loadFile.
loadFile could load mulitple files just because yaml has a feature for
putting multiple documents in one file.

Designing a linker around what yaml can do seems like a bad idea to
me. This patch changes it to read a single file.

There are further improvements to be done to the api and they
will follow shortly.

llvm-svn: 235724
2015-04-24 15:51:45 +00:00

24 lines
503 B
Plaintext

# RUN: lld -core %s %p/Inputs/archive-basic.objtxt | FileCheck %s
#
# Tests archives in YAML. Tests that an undefined in a regular file will load
# all atoms in select archive members.
#
--- !native
defined-atoms:
- name: foo
type: code
undefined-atoms:
- name: bar
...
# CHECK: name: foo
# CHECK-NOT: undefined-atoms:
# CHECK: name: bar
# CHECK: name: bar2
# CHECK-NOT: name: baz
# CHECK: ...