Displaying 1 result from an estimated 1 matches for "_z5xmainv".
2010 Jul 14
2
[LLVMdev] Why exceptions don't work in JIT?
...ude <stdio.h>
#include <stdlib.h>
class E {
};
void xmain() {
try {
throw new E;
} catch (E *e) {
printf("caught!\n");
}
printf("done\n");
}
--- commands ---
clang++ -O3 -fexceptions -emit-llvm -S -o e.ll e.C
llvm-as e.ll
lli --entry-function=_Z5xmainv e.bc