Put out burning linux tinderbox.
This commit is contained in:
parent
c624ed72b1
commit
e2f7f11d47
1 changed files with 6 additions and 2 deletions
|
@ -43,9 +43,13 @@ extern "C" const char *LLVMRustGetLastError(void) {
|
|||
}
|
||||
|
||||
extern "C" void LLVMAddBasicAliasAnalysisPass(LLVMPassManagerRef PM);
|
||||
extern "C" void LLVMAddStandardModulePasses(LLVMPassManagerRef PM,
|
||||
unsigned int OptimizationLevel, bool OptimizeSize, bool UnitAtATime,
|
||||
bool UnrollLoops, bool SimplifyLibCalls, bool HaveExceptions,
|
||||
unsigned int InliningThreshold);
|
||||
|
||||
void (*RustHackToFetchPassesO)(LLVMPassManagerRef PM) =
|
||||
LLVMAddBasicAliasAnalysisPass;
|
||||
int *RustHackToFetchPassesO = (int*)LLVMAddBasicAliasAnalysisPass;
|
||||
int *RustHackToFetchPasses2O = (int*)LLVMAddStandardModulePasses;
|
||||
|
||||
enum LLVMCodeGenFileType {
|
||||
LLVMAssemblyFile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue