llvm-project/clang/lib/Driver/ToolChains
Artem Belevich ecb178bb35 [CUDA] Disable LTO for device-side compilations.
This fixes host-side LTO during CUDA compilation. Before, LTO
pipeline construction was clashing with CUDA pipeline construction.

At the moment there's no point doing LTO on device side as each
device-side TU is a complete program.  We will need to figure out
compilation pipeline construction for the device-side LTO when we
have working support for multi-TU device-side CUDA compilation.

Differential Revision: https://reviews.llvm.org/D44691

llvm-svn: 328161
2018-03-21 22:22:59 +00:00
..
Arch [mips] Spectre variant two mitigation for MIPSR2 2018-02-21 00:05:05 +00:00
AMDGPU.cpp AMDGPU/NFC: Move getAMDGPUTargetFeatures to AMDGPU toolchain 2017-11-10 19:09:57 +00:00
AMDGPU.h [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-26 17:32:31 +00:00
AVR.cpp
AVR.h
Ananas.cpp ananas: Add shared library support 2018-01-09 09:18:14 +00:00
Ananas.h Add support for Ananas platform 2017-06-25 08:29:09 +00:00
BareMetal.cpp Fix ARM bare metal driver to support atomics 2017-09-06 17:09:25 +00:00
BareMetal.h Driver: remove `SupportsObjCGC` (NFC) 2017-11-19 00:45:33 +00:00
Clang.cpp [CUDA] Disable LTO for device-side compilations. 2018-03-21 22:22:59 +00:00
Clang.h [RISCV] Add the RISCV target and compiler driver 2018-01-11 13:36:56 +00:00
CloudABI.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
CloudABI.h
CommonArgs.cpp Better OpenBSD frontend support 2018-03-03 11:47:27 +00:00
CommonArgs.h [OpenMP] OpenMP device offloading code generation produces a cubin file which is then integrated in the host binary using the host linker. 2017-08-08 14:33:05 +00:00
Contiki.cpp
Contiki.h
CrossWindows.cpp [MinGW, CrossWindows] Allow passing -static together with -shared 2018-02-27 19:42:19 +00:00
CrossWindows.h [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. 2017-08-03 23:55:42 +00:00
Cuda.cpp [OpenMP] Add flag for linking runtime bitcode library 2018-03-13 23:19:52 +00:00
Cuda.h [OpenMP] Consistently use cubin extension for nvlink 2017-11-21 14:44:45 +00:00
Darwin.cpp [Driver] Forward opt-remark hotness threshold to LTO 2018-02-26 18:38:11 +00:00
Darwin.h [driver][darwin] Refactor the target selection code, NFC 2017-12-09 02:27:11 +00:00
DragonFly.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
DragonFly.h
FreeBSD.cpp FreeBSD driver / Xray flags moving pthread to compile flags. 2018-02-22 06:31:40 +00:00
FreeBSD.h Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
Fuchsia.cpp [Driver] Enable SafeStack by default on Fuchsia 2018-03-07 02:49:58 +00:00
Fuchsia.h [Driver] Enable SafeStack by default on Fuchsia 2018-03-07 02:49:58 +00:00
Gnu.cpp Don't use -pie in relocatable link. 2018-03-09 19:35:16 +00:00
Gnu.h [Solaris] gcc toolchain handling revamp 2018-01-23 12:23:52 +00:00
Haiku.cpp Driver/ToolChains: Remove extra semicolons. NFC 2017-03-09 00:14:57 +00:00
Haiku.h
Hexagon.cpp [Hexagon] Add -ffixed-r19 driver option and translate it to +reserved-r19 2018-02-28 20:31:55 +00:00
Hexagon.h [Hexagon] Handling of new HVX flags and target-features 2017-10-18 18:10:13 +00:00
Lanai.h
Linux.cpp [Driver] Add support for mips32 and scudo 2018-01-25 10:09:33 +00:00
Linux.h Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
MSVC.cpp [msvc] Allow MSVC toolchain driver to find the aarch64 / arm64 cross-compiler. 2018-03-05 21:36:23 +00:00
MSVC.h [Driver] Recognize DevDiv internal builds of MSVC, with a different directory structure. 2017-08-21 22:19:33 +00:00
MSVCSetupApi.h Update clang-cl driver for MSVC 2017. 2017-03-15 16:07:35 +00:00
MinGW.cpp [MinGW, CrossWindows] Allow passing -static together with -shared 2018-02-27 19:42:19 +00:00
MinGW.h Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
Minix.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
Minix.h
MipsLinux.cpp fix trivial typos; NFC 2017-07-01 08:46:43 +00:00
MipsLinux.h Driver/ToolChains: Mips -> MipsLinux 2017-03-08 22:36:04 +00:00
Myriad.cpp [Myriad] Remove invalidated -elf flag for MoviAsm 2018-01-08 20:36:08 +00:00
Myriad.h
NaCl.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
NaCl.h
NetBSD.cpp Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
NetBSD.h Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
OpenBSD.cpp OpenBSD Driver basic sanitiser support 2018-03-03 11:52:52 +00:00
OpenBSD.h OpenBSD Driver basic sanitiser support 2018-03-03 11:52:52 +00:00
PS4CPU.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
PS4CPU.h
Solaris.cpp [Solaris] Silence -pthread warning on Solaris 2018-02-06 13:21:12 +00:00
Solaris.h [Sanitizers] Basic Solaris sanitizer support (PR 33274) 2018-02-05 23:59:13 +00:00
TCE.cpp Driver/ToolChains: Remove extra semicolons. NFC 2017-03-09 00:14:57 +00:00
TCE.h
WebAssembly.cpp [WebAssembly] Support -stdlib=libc++ switch 2018-01-12 17:54:49 +00:00
WebAssembly.h [WebAssembly] Support -stdlib=libc++ switch 2018-01-12 17:54:49 +00:00
XCore.cpp [OpenMP] Extend CLANG target options with device offloading kind. 2017-07-06 16:22:21 +00:00
XCore.h [OpenMP] Extend CLANG target options with device offloading kind. 2017-07-06 16:22:21 +00:00