示例#1
0
文件: ee.py 项目: chiehwen/llvmpy
 def target_data(self):
     """get target data of this machine
     """
     ptr = _core.LLVMTargetMachineGetTargetData(self.ptr)
     td = TargetData(ptr)
     td._own(self)
     return td
示例#2
0
文件: ee.py 项目: chiehwen/llvmpy
 def target_data(self):
     td = TargetData(_core.LLVMGetExecutionEngineTargetData(self.ptr))
     td._own(self)
     return td