This is for case when native target like X86 is not in LLVM_TARGETS_TO_BUILD. Right now LLVM_DEFAULT_TARGET_TRIPLE is set to LLVM_HOST_TRIPLE even when native target is not enabled, As a result, many lit tests will fail because default_triple is set for lit test but not enabled when build LLVM. Reviewed By: smeenai Differential Revision: https://reviews.llvm.org/D134972
15 lines
643 B
Plaintext
15 lines
643 B
Plaintext
# This test makes sure that the example builds and executes as expected.
|
|
# Instructions for debugging can be found in LLJITWithRemoteDebugging.cpp
|
|
|
|
# REQUIRES: default_triple
|
|
|
|
# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll | FileCheck --check-prefix=CHECK0 %s
|
|
# CHECK0: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
|
|
# CHECK0: Running: main()
|
|
# CHECK0: Exit code: 0
|
|
|
|
# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll --args 2nd 3rd 4th | FileCheck --check-prefix=CHECK3 %s
|
|
# CHECK3: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
|
|
# CHECK3: Running: main("2nd", "3rd", "4th")
|
|
# CHECK3: Exit code: 3
|