Since jitlink for ppc64le is ready for general use, test cases in compiler-rt for ELFNixPlatform support can be enabled. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D156399
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;
|
|
}
|