Exemple #1
0
 def __init__(self):
     super().__init__()
     self.triple = llvm.get_default_triple()
     host_data_layout = str(llvm.targets.Target.from_default_triple().
                            create_target_machine().target_data)
     assert host_data_layout[0] in "eE"
     self.little_endian = host_data_layout[0] == "e"
Exemple #2
0
 def __init__(self):
     super().__init__()
     self.triple = llvm.get_default_triple()
Exemple #3
0
 def __init__(self):
     super().__init__()
     self.triple = llvm.get_default_triple()
Exemple #4
0
 def __init__(self):
     super().__init__()
     self.triple = llvm.get_default_triple()
     host_data_layout = str(llvm.targets.Target.from_default_triple().create_target_machine().target_data)
     assert host_data_layout[0] in "eE"
     self.little_endian = host_data_layout[0] == "e"