Skip to content

Commit

Permalink
[LLVM-3.9] Increase PIELevel
Browse files Browse the repository at this point in the history
Previously, we had a PositionIndependentExecutable, now we simply
choose the highest level. This should be equivalent.

:cake:
  • Loading branch information
badboy committed Jul 29, 2016
1 parent 12ccff9 commit deafab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustllvm/PassWrapper.cpp
Expand Up @@ -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
}

0 comments on commit deafab1

Please sign in to comment.