26 lines · plain
1# RUN: yaml2obj %p/Inputs/ret42.yaml -o %t.obj2 3# RUN: echo /out:%t.exe /entry:main %t.obj > %t.rsp4# RUN: lld-link @%t.rsp /heap:0x30005# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s6CHECK: SizeOfHeapReserve: 122887 8# RUN: not lld-link --rsp-quoting=foobar @%t.rsp 2>&1 | \9# RUN: FileCheck --check-prefix=INVRSP %s10INVRSP: invalid response file quoting: foobar11 12# RUN: echo "blah\foo" > %t.rsp13# RUN: not lld-link @%t.rsp 2>&1 | \14# RUN: FileCheck --check-prefix=DEFRSP %s15DEFRSP: error: could not open 'blah\foo'16 17# RUN: echo "blah\foo" > %t.rsp18# RUN: not lld-link --rsp-quoting=windows @%t.rsp 2>&1 | \19# RUN: FileCheck --check-prefix=WINRSP %s20WINRSP: error: could not open 'blah\foo'21 22# RUN: echo "blah\foo" > %t.rsp23# RUN: not lld-link --rsp-quoting=posix @%t.rsp 2>&1 | \24# RUN: FileCheck --check-prefix=POSRSP %s25POSRSP: error: could not open 'blahfoo'26