[LLVM-3.9] Increase PIELevel
Previously, we had a PositionIndependentExecutable, now we simply
choose the highest level. This should be equivalent.
🍰
This commit is contained in:
parent
12ccff99bf
commit
deafab19be
1 changed files with 1 additions and 1 deletions
|
@ -418,6 +418,6 @@ LLVMRustGetModuleDataLayout(LLVMModuleRef M) {
|
|||
extern "C" void
|
||||
LLVMRustSetModulePIELevel(LLVMModuleRef M) {
|
||||
#if LLVM_VERSION_MINOR >= 9
|
||||
unwrap(M)->setPIELevel(PIELevel::Level::Default);
|
||||
unwrap(M)->setPIELevel(PIELevel::Level::Large);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue