Lines Matching refs:script
11 # RUN: }" > %t.script
14 # RUN: echo "REGION_ALIAS (\"ALIAS_TEXT\", ROM);" > %t.script.inc
15 # RUN: echo "REGION_ALIAS (\"ALIAS_DATA\", RAM);" >> %t.script.inc
16 # RUN: ld.lld %t --script %t.script -o %t2
22 # RUN: echo "REGION_ALIAS (\"ALIAS_TEXT\", ROM);" > %t.script.inc
23 # RUN: echo "REGION_ALIAS (\"ALIAS_DATA\", ROM);" >> %t.script.inc
24 # RUN: ld.lld %t --script %t.script -o %t2
30 # RUN: echo "REGION_ALIAS (\"ROM\", ROM);" > %t.script.inc
31 # RUN: not ld.lld %t --script %t.script -o /dev/null 2>&1 | \
33 # ERR1: {{.*}}script.inc:1: redefinition of memory region 'ROM'
36 # RUN: echo "REGION_ALIAS (\"ALIAS_TEXT\", ROM);" > %t.script.inc
37 # RUN: echo "REGION_ALIAS (\"ALIAS_TEXT\", ROM);" >> %t.script.inc
38 # RUN: not ld.lld %t --script %t.script -o /dev/null 2>&1 | \
40 # ERR2: {{.*}}script.inc:2: redefinition of memory region 'ALIAS_TEXT'
43 # RUN: echo "REGION_ALIAS (\"ALIAS_TEXT\", FOO);" > %t.script.inc
44 # RUN: not ld.lld %t --script %t.script -o /dev/null 2>&1 | \
46 # ERR3: {{.*}}script.inc:1: memory region 'FOO' is not defined