forked from OSchip/llvm-project
24 lines
566 B
Plaintext
24 lines
566 B
Plaintext
# RUN: lld -core %s %p/Inputs/archive-chain.objtxt %p/Inputs/archive-chain2.objtxt | FileCheck %s
|
|
|
|
#
|
|
# Tests that an undefine in one archive can force a load from another archive.
|
|
#
|
|
|
|
--- !native
|
|
defined-atoms:
|
|
- name: foo
|
|
type: code
|
|
|
|
undefined-atoms:
|
|
- name: bar1
|
|
...
|
|
|
|
# CHECK: name: foo
|
|
# CHECK: name: bar1
|
|
# CHECK: name: bar1b
|
|
# CHECK-NOT: name: bar2
|
|
# CHECK: name: baz1
|
|
# CHECK: name: baz1b
|
|
# CHECK-NOT: name: baz2
|
|
# CHECK: ...
|