fixes to make this branch compatible with llvm versions before 3.4
This commit is contained in:
parent
aa264cee2d
commit
b303fd532a
5 changed files with 48 additions and 42 deletions
|
|
@ -652,6 +652,9 @@ def do_llvm_target():
|
|||
tm.is_little_endian()
|
||||
|
||||
def do_llvm_mc():
|
||||
if llvm.version < (3, 4):
|
||||
return
|
||||
|
||||
from llvm import target
|
||||
from llvm import mc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue