anoopkg6 e60a3325a3
[JITLink] Add orc-runtime support for SystemZ (#171062)
Add orc-runtime support and tests for SystemZ.

Co-authored-by: anoopkg6 <anoopkg6@github.com>
2025-12-09 12:07:40 +01:00

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;
}