]> git.lizzy.rs Git - rust.git/commit
optimize position independent code in executables
authorDaniel Micay <danielmicay@gmail.com>
Sat, 9 Aug 2014 16:43:45 +0000 (12:43 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Sun, 12 Oct 2014 13:18:14 +0000 (09:18 -0400)
commit4deb4bcba590e707e23670d8b40bc5520c5ab7fe
treeb526b8d7a52e985301ee3a96e7aaf95b01453c1a
parent86509d8d7ab68c5e4202dea9ff1bfb79409f2f8d
optimize position independent code in executables

Position independent code has fewer requirements in executables, so pass
the appropriate flag to LLVM in order to allow more optimization. At the
moment this means faster thread-local storage.
src/librustc/back/write.rs
src/librustc_llvm/lib.rs
src/rustllvm/PassWrapper.cpp