This change adds test cases targeting the AArch64 Linux platform to the ORC runtime integration test suite. Reviewed By: lhames, sunho Differential Revision: https://reviews.llvm.org/D127720
15 lines
317 B
C++
15 lines
317 B
C++
// RUN: %clangxx -fexceptions -fPIC -c -o %t %s
|
|
// RUN: %llvm_jitlink %t
|
|
|
|
extern "C" void llvm_jitlink_setTestResultOverride(long Value);
|
|
|
|
int main(int argc, char *argv[]) {
|
|
llvm_jitlink_setTestResultOverride(1);
|
|
try {
|
|
throw 0;
|
|
} catch (int X) {
|
|
llvm_jitlink_setTestResultOverride(X);
|
|
}
|
|
return 0;
|
|
}
|