diff options
| author | Jan-Erik Rediger <janerik@fnordig.de> | 2016-07-13 00:41:40 +0200 |
|---|---|---|
| committer | Jan-Erik Rediger <janerik@fnordig.de> | 2016-07-29 10:29:44 +0200 |
| commit | 9e706f90cbc844bb09187e01acd4ae075130bc81 (patch) | |
| tree | 61cf2b6522b113e4ea758e58bb24e362606a0f60 /src/librustc_llvm | |
| parent | dbb4178f4effa2f7686aca70d5fdfa0eff94e692 (diff) | |
| download | rust-9e706f90cbc844bb09187e01acd4ae075130bc81.tar.gz rust-9e706f90cbc844bb09187e01acd4ae075130bc81.zip | |
[LLVM-3.9] Configure PIE at the module level instead of compilation unit level
This was deleted here[1] which appears to be replaced by this[2] which is a new setPIELevel function on the LLVM module itself. [1]: http://reviews.llvm.org/D19753 [2]: http://reviews.llvm.org/D19671
Diffstat (limited to 'src/librustc_llvm')
| -rw-r--r-- | src/librustc_llvm/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs index f14df2a7b48..4fc866752eb 100644 --- a/src/librustc_llvm/lib.rs +++ b/src/librustc_llvm/lib.rs @@ -2155,6 +2155,7 @@ extern { pub fn LLVMRustSetComdat(M: ModuleRef, V: ValueRef, Name: *const c_char); pub fn LLVMRustUnsetComdat(V: ValueRef); + pub fn LLVMRustSetModulePIELevel(M: ModuleRef); } // LLVM requires symbols from this library, but apparently they're not printed |
