[mlir][acc] Introduce MappableType interface (#122146)
[llvm-project.git] / compiler-rt / test / orc / TestCases / FreeBSD / x86-64 / ehframe-libunwind.cpp
blobf56aa8fba950f93e3eaa5a8186c89144a9f759b7
1 // REQUIRES: libunwind-available
2 // RUN: %clangxx -fexceptions -fPIC -c -o %t %s
3 // RUN: env LD_PRELOAD=%shared_libunwind %llvm_jitlink %t
5 extern "C" void llvm_jitlink_setTestResultOverride(long Value);
7 int main(int argc, char *argv[]) {
8 llvm_jitlink_setTestResultOverride(1);
9 try {
10 throw 0;
11 } catch (int X) {
12 llvm_jitlink_setTestResultOverride(X);
14 return 0;