add MCJIT test

This commit is contained in:
Siu Kwan Lam 2013-07-31 16:57:29 -05:00
commit 319984f0e0
3 changed files with 36 additions and 2 deletions

View file

@ -2454,4 +2454,8 @@ if api.llvm.InitializeNativeTargetAsmPrinter():
# should this be an optional feature?
# should user trigger the initialization?
raise llvm.LLVMException("No native asm printer!?")
if api.llvm.InitializeNativeTargetAsmParser():
# required by MCJIT?
# should this be an optional feature?
# should user trigger the initialization?
raise llvm.LLVMException("No native asm parser!?")