add MCJIT test
This commit is contained in:
parent
56a511854a
commit
319984f0e0
3 changed files with 36 additions and 2 deletions
|
|
@ -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!?")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue