Enable alias analysis and the function attributes pass.
The C API extension is already upstream, we can drop the local copy once the bots are updated.
This commit is contained in:
parent
6909e7ca78
commit
e7b8db2e63
5 changed files with 28 additions and 4 deletions
|
@ -31,3 +31,8 @@ extern "C" const char *LLVMRustGetLastError(void) {
|
|||
|
||||
LLVMOpaqueObjectFile* (*RustHackToFetchObjectO)(LLVMOpaqueMemoryBuffer*)
|
||||
= LLVMCreateObjectFile;
|
||||
|
||||
extern "C" void LLVMAddBasicAliasAnalysisPass(LLVMPassManagerRef PM);
|
||||
|
||||
void (*RustHackToFetchPassesO)(LLVMPassManagerRef PM) =
|
||||
LLVMAddBasicAliasAnalysisPass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue