From 733fd7d18e86e66dd8f2a1ef3fd1503ee4babd4a Mon Sep 17 00:00:00 2001 From: Siu Kwan Lam Date: Thu, 19 Sep 2013 15:05:29 -0500 Subject: [PATCH] fix missing re-export for old llvm.ee symbols --- llvm/ee.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/llvm/ee.py b/llvm/ee.py index f79294d..c687eaa 100644 --- a/llvm/ee.py +++ b/llvm/ee.py @@ -40,11 +40,13 @@ from llvmpy import api, extra #===----------------------------------------------------------------------=== # import items which were moved to target module #===----------------------------------------------------------------------=== -from llvm.target import initialize_target, \ - print_registered_targets, \ - get_host_cpu_name, \ - get_default_triple, \ - TargetMachine +from llvm.target import (initialize_all, initialize_target, + print_registered_targets, get_host_cpu_name, get_default_triple, + TargetMachine, + BO_BIG_ENDIAN, BO_LITTLE_ENDIAN, + CM_DEFAULT, CM_JITDEFAULT, CM_SMALL, CM_KERNEL, CM_MEDIUM, CM_LARGE, + RELOC_DEFAULT, RELOC_STATIC, RELOC_PIC, RELOC_DYNAMIC_NO_PIC) + #===----------------------------------------------------------------------=== # Generic value