1 # This test makes sure that the example builds and executes as expected.
2 # Instructions for debugging can be found in LLJITWithRemoteDebugging.cpp
4 # REQUIRES: default_triple
5 # UNSUPPORTED: target=powerpc64{{.*}}
7 # RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll | FileCheck --check-prefix=CHECK0 %s
8 # CHECK0: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
9 # CHECK0: Running: main()
10 # CHECK0: Exit code: 0
12 # RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll --args 2nd 3rd 4th | FileCheck --check-prefix=CHECK3 %s
13 # CHECK3: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
14 # CHECK3: Running: main("2nd", "3rd", "4th")
15 # CHECK3: Exit code: 3