Add orc-runtime support and tests for SystemZ. Co-authored-by: anoopkg6 <anoopkg6@github.com>
16 lines
262 B
C++
16 lines
262 B
C++
// RUN: %clangxx -fPIC -emit-llvm -c -o %t %s
|
|
// RUN: %lli_orc_jitlink -relocation-model=pic %t | FileCheck %s
|
|
|
|
// CHECK: catch
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char *argv[]) {
|
|
try {
|
|
throw 0;
|
|
} catch (int X) {
|
|
puts("catch");
|
|
}
|
|
return 0;
|
|
}
|