Lines Matching refs:script
4 # RUN: echo "SECTIONS { ASSERT(1, fail) }" > %t1.script
5 # RUN: ld.lld -shared -o %t1 --script %t1.script %t1.o
8 # RUN: echo "SECTIONS { ASSERT(0, fail) }" > %t3.script
9 # RUN: not ld.lld -o /dev/null -T %t3.script %t1.o 2>&1 | FileCheck --check-prefix=FAIL %s
10 # RUN: ld.lld -o /dev/null -T %t3.script %t1.o --noinhibit-exec 2>&1 | FileCheck --check-prefix=FAI…
13 # RUN: echo "SECTIONS { . = ASSERT(0x1000, fail); }" > %t4.script
14 # RUN: ld.lld -shared -o %t4 --script %t4.script %t1.o
17 # RUN: echo "SECTIONS { .foo : { *(.foo) } }" > %t5.script
18 # RUN: echo "ASSERT(SIZEOF(.foo) == 8, fail);" >> %t5.script
19 # RUN: ld.lld -shared -o %t5 --script %t5.script %t1.o
24 # RUN: echo "ASSERT(SIZEOF(.foo) == 8, fail);" > %t5.script
25 # RUN: ld.lld -shared -o %t5 --script %t5.script %t1.o
29 # RUN: echo "SECTIONS { .foo : { *(.foo) ASSERT(SIZEOF(.foo) == 8, \"true\"); } }" > %t6.script
30 # RUN: ld.lld -shared -o %t6 --script %t6.script %t1.o
36 # RUN: echo "SECTIONS { .foo : { ASSERT(1, \"true\") } }" > %t7.script
37 # RUN: ld.lld -shared -o /dev/null --script %t7.script %t1.o