示例#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 项目: stjordanis/llvmpy
 def target_data(self):
     ptr = self._ptr.getDataLayout()
     return TargetData.new(str(ptr))
示例#3
0
 def target_data(self):
     '''get target data of this machine
     '''
     return TargetData(self._ptr.getDataLayout())
示例#4
0
文件: ee.py 项目: chiehwen/llvmpy
 def target_data(self):
     td = TargetData(_core.LLVMGetExecutionEngineTargetData(self.ptr))
     td._own(self)
     return td
示例#5
0
文件: ee.py 项目: B-Rich/llvmpy
 def target_data(self):
     ptr = self._ptr.getDataLayout()
     return TargetData.new(str(ptr))