2020-08-21 06:00:25 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/include1a.yaml -o %t1.obj
|
|
|
|
# RUN: yaml2obj %p/Inputs/include1b.yaml -o %t2.obj
|
|
|
|
# RUN: yaml2obj %p/Inputs/include1c.yaml -o %t3.obj
|
2015-06-24 07:56:39 +08:00
|
|
|
# RUN: rm -f %t2.lib %t3.lib
|
|
|
|
# RUN: llvm-ar cru %t2.lib %t2.obj
|
|
|
|
# RUN: llvm-ar cru %t3.lib %t3.obj
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: lld-link /out:%t.exe /entry:main \
|
2015-06-29 09:03:53 +08:00
|
|
|
# RUN: %t1.obj %t2.lib %t3.obj %t3.lib /verbose >& %t.log
|
2015-06-24 07:56:39 +08:00
|
|
|
# RUN: FileCheck %s < %t.log
|
|
|
|
|
2018-01-26 09:01:21 +08:00
|
|
|
CHECK: section-order.test.tmp1.obj
|
|
|
|
CHECK: section-order.test.tmp2.lib
|
|
|
|
CHECK: section-order.test.tmp3.obj
|
|
|
|
CHECK: section-order.test.tmp3.lib
|
|
|
|
CHECK: section-order.test.tmp2.lib(section-order.test.tmp2.obj) for foo
|