llvm-project/lld/test/core/archive-basic.objtxt

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: ...