llvm-project/clang/lib/Driver
Ed Schouten 506f295a10 Enable PIE for CloudABI.
As we're currently working on making CloudABI executables easier to
emulate in userspace (e.g., on OS X and Windows), it makes a whole lot
of sense to build these using PIE. By using PIE, they can simply be
loaded into the existing process address space without clashes.

PIE support got added to CloudABI's C library and seems to work pretty
well. CloudABI does not make use of an ld.so, so the binary's _start()
has all the logic in it to do the relocations.

Now that all but one bug in LLD relating to PIE support have been
squashed (and a patch for that is already in code review), I'd like to
go ahead and force the use of PIE for Clang 3.9. When released, we'll
also switch over to using LLD exclusively.

llvm-svn: 265546
2016-04-06 15:37:06 +00:00
..
Action.cpp [CUDA] Invoke ptxas and fatbinary during compilation. 2016-01-14 21:41:27 +00:00
CMakeLists.txt Support mingw-w64 and mingw.org toolchains at any install location. 2015-07-02 04:45:27 +00:00
Compilation.cpp Bail on compilation as soon as a job fails. 2016-02-24 21:49:28 +00:00
CrossWindowsToolChain.cpp Driver: tweak CrossWindows sanitizer support 2015-10-29 03:36:38 +00:00
Driver.cpp [DarwinDriver] Increase the number of valid digits for ld64 version string. 2016-03-31 02:45:46 +00:00
DriverOptions.cpp Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC 2015-10-21 16:31:33 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp [CrashReproducer] Pass -I, -F and -resource-dir to the reproducer script when using modules/vfs 2016-04-04 20:26:57 +00:00
MSVCToolChain.cpp clang-cl: Don't warn about /Oy- being unused in 64-bit builds. 2016-03-23 15:37:41 +00:00
MinGWToolChain.cpp Revert r253898 and r253899, this breaks mingw compilation on openSUSE. 2016-01-12 10:41:20 +00:00
Multilib.cpp [Driver] Remove `else` after `return` 2015-10-12 14:32:57 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp Enable the SafeStack sanitizer on CloudABI by default. 2016-03-29 21:13:53 +00:00
Tool.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
ToolChain.cpp Make FreeBSD and NetBSD use CLANG_DEFAULT_CXX_STDLIB 2016-03-14 14:34:04 +00:00
ToolChains.cpp [CUDA] Add -fcuda-flush-denormals-to-zero. 2016-04-05 18:26:20 +00:00
ToolChains.h Enable PIE for CloudABI. 2016-04-06 15:37:06 +00:00
Tools.cpp Enable PIE for CloudABI. 2016-04-06 15:37:06 +00:00
Tools.h [AMDGPU] Switch linker to amdphdrs + update test 2016-03-29 15:54:09 +00:00
Types.cpp Fix remaining Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-12 22:53:10 +00:00