2015-04-24 23:51:45 +08:00
|
|
|
# RUN: lld -core %s %p/Inputs/archive-chain.objtxt %p/Inputs/archive-chain2.objtxt | FileCheck %s
|
2012-04-20 09:24:37 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Tests that an undefine in one archive can force a load from another archive.
|
|
|
|
#
|
|
|
|
|
2014-01-11 09:07:43 +08:00
|
|
|
--- !native
|
2013-01-05 10:22:35 +08:00
|
|
|
defined-atoms:
|
2012-04-20 09:24:37 +08:00
|
|
|
- name: foo
|
|
|
|
type: code
|
|
|
|
|
2013-01-05 10:22:35 +08:00
|
|
|
undefined-atoms:
|
2012-04-20 09:24:37 +08:00
|
|
|
- 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: ...
|