powerpc: initialize llvm
This commit is contained in:
parent
c8442afeb0
commit
33cd9cf9f4
3 changed files with 43 additions and 0 deletions
|
|
@ -1974,6 +1974,11 @@ extern {
|
|||
pub fn LLVMInitializeMipsTargetMC();
|
||||
pub fn LLVMInitializeMipsAsmPrinter();
|
||||
pub fn LLVMInitializeMipsAsmParser();
|
||||
pub fn LLVMInitializePowerPCTargetInfo();
|
||||
pub fn LLVMInitializePowerPCTarget();
|
||||
pub fn LLVMInitializePowerPCTargetMC();
|
||||
pub fn LLVMInitializePowerPCAsmPrinter();
|
||||
pub fn LLVMInitializePowerPCAsmParser();
|
||||
|
||||
pub fn LLVMRustAddPass(PM: PassManagerRef, Pass: *const c_char) -> bool;
|
||||
pub fn LLVMRustCreateTargetMachine(Triple: *const c_char,
|
||||
|
|
@ -2249,6 +2254,12 @@ pub unsafe fn static_link_hack_this_sucks() {
|
|||
LLVMInitializeMipsAsmPrinter();
|
||||
LLVMInitializeMipsAsmParser();
|
||||
|
||||
LLVMInitializePowerPCTargetInfo();
|
||||
LLVMInitializePowerPCTarget();
|
||||
LLVMInitializePowerPCTargetMC();
|
||||
LLVMInitializePowerPCAsmPrinter();
|
||||
LLVMInitializePowerPCAsmParser();
|
||||
|
||||
LLVMRustSetLLVMOptions(0 as c_int,
|
||||
0 as *const _);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue