18 lines
597 B
Plaintext
18 lines
597 B
Plaintext
# RUN: yaml2obj < %p/Inputs/icf1.yaml > %t1.obj
|
|
# RUN: yaml2obj < %p/Inputs/icf2.yaml > %t2.obj
|
|
# RUN: yaml2obj < %p/Inputs/icf3.yaml > %t3.obj
|
|
# RUN: yaml2obj < %p/Inputs/icf4.yaml > %t4.obj
|
|
# RUN: yaml2obj < %p/Inputs/icf5.yaml > %t5.obj
|
|
#
|
|
# RUN: lld-link /out:%t.exe /entry:main \
|
|
# RUN: %t1.obj %t2.obj %t3.obj %t4.obj %t5.obj \
|
|
# RUN: /opt:lldicf /include:icf2 /include:icf3 /include:icf4 /include:icf5 \
|
|
# RUN: /verbose >& %t.log
|
|
# RUN: FileCheck %s < %t.log
|
|
|
|
CHECK-NOT: Replaced main
|
|
CHECK: Replaced icf2
|
|
CHECK-NOT: Replaced icf3
|
|
CHECK-NOT: Replaced icf4
|
|
CHECK-NOT: Replaced icf5
|