llvm-project/clang/lib/Driver
Saleem Abdulrasool d133dc226f Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows
Use of these flags would result in the use of ELF-style PIE/PIC code
which is incorrect on Windows.  Windows is inherently PIC by means of
the DLL slide that occurs at load.  This also mirrors the behaviour on
GCC for MinGW.  Currently, the Windows x86_64 forces the relocation
model to PIC (Level 2).  This is unchanged for now, though we should
remove any assumptions on that and change it to a static relocation
model.

llvm-svn: 290533
2016-12-26 03:35:24 +00:00
..
Action.cpp Fix MSVC "not all control paths return a value" warning 2016-10-28 10:09:35 +00:00
CMakeLists.txt [Driver] Refactor distro detection & classification as a separate API 2016-11-28 21:11:14 +00:00
Compilation.cpp [Driver][OpenMP] Add logic for offloading-specific argument translation. 2016-10-27 17:39:44 +00:00
CrossWindowsToolChain.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Distro.cpp [Driver] Fix recognizing newer OpenSUSE versions 2016-11-28 21:11:18 +00:00
Driver.cpp [CUDA,Driver] Added --no-cuda-gpu-arch= option. 2016-12-09 22:59:17 +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] Collect PCH included via -include-pch 2016-12-12 19:28:25 +00:00
MSVCToolChain.cpp Refactor how the MSVC toolchain searches for a compatibility version. 2016-12-07 23:41:58 +00:00
MinGWToolChain.cpp Revert r253898 and r253899, this breaks mingw compilation on openSUSE. 2016-01-12 10:41:20 +00:00
Multilib.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp [sanitizers] lsan+sancov doesn't need ubsanrt (multi def error) 2016-12-08 22:25:01 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp [Driver] Allow setting the default linker during build 2016-12-14 16:46:50 +00:00
ToolChains.cpp Use PIC relocation mode by default for PowerPC64 ELF 2016-12-15 00:02:57 +00:00
ToolChains.h [Driver] Allow setting the default linker during build 2016-12-14 16:46:50 +00:00
Tools.cpp Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows 2016-12-26 03:35:24 +00:00
Tools.h Refactor how the MSVC toolchain searches for a compatibility version. 2016-12-07 23:41:58 +00:00
Types.cpp [Driver][OpenMP] Update actions builder to create unbundling action when necessary. 2016-10-27 18:00:51 +00:00