llvm-project/clang/lib/Driver/ToolChains
Jonathan Roelofs 6fbb9e017d Fix validation of the -mthread-model flag in the Clang driver
The ToolChain class validates the -mthread-model flag in the constructor which
doesn't work correctly since the thread model methods are virtual methods. The
check is moved into Clang::ConstructJob() when constructing the internal
command line.

https://reviews.llvm.org/D37496

Patch by: Ian Tessier!

llvm-svn: 312748
2017-09-07 22:01:25 +00:00
..
Arch [mips] Replace Triple::Environment check by the isGNUEnvironment() call. NFC 2017-09-07 06:05:06 +00:00
AMDGPU.cpp [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain 2017-09-05 10:24:38 +00:00
AMDGPU.h [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain 2017-09-05 10:24:38 +00:00
AVR.cpp
AVR.h
Ananas.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +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 Fix ARM bare metal driver to support atomics 2017-09-06 17:09:25 +00:00
Clang.cpp Fix validation of the -mthread-model flag in the Clang driver 2017-09-07 22:01:25 +00:00
Clang.h Driver; extract target specific option application (NFC) 2017-09-03 04:47:00 +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 Minimal runtime for UBSan. 2017-08-29 20:03:51 +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 [AArch64] Add support for a MinGW AArch64 target 2017-08-13 19:42:17 +00:00
CrossWindows.h [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. 2017-08-03 23:55:42 +00:00
Cuda.cpp [CUDA] Added rudimentary support for CUDA-9 and sm_70. 2017-09-07 18:14:32 +00:00
Cuda.h [OpenMP] Enable previously successful offloading tests. 2017-08-11 15:46:22 +00:00
Darwin.cpp Test fix: only add shared libraries to rpath. 2017-08-22 02:10:53 +00:00
Darwin.h Moving libFuzzer to compiler-rt: required updates to the Clang driver. 2017-08-21 23:25:19 +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 Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
FreeBSD.h
Fuchsia.cpp [Driver][Fuchsia] Pass --hash-style=gnu to the linker 2017-08-04 02:39:27 +00:00
Fuchsia.h [Driver] Fuchsia defaults to -fno-math-errno 2017-07-23 22:30:13 +00:00
Gnu.cpp [mips] Replace Triple::Environment check by the isGNUEnvironment() call. NFC 2017-09-07 06:05:06 +00:00
Gnu.h [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. 2017-08-03 23:55:42 +00:00
Haiku.cpp Driver/ToolChains: Remove extra semicolons. NFC 2017-03-09 00:14:57 +00:00
Haiku.h
Hexagon.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
Hexagon.h [OpenMP] Extend CLANG target options with device offloading kind. 2017-07-06 16:22:21 +00:00
Lanai.h
Linux.cpp Add -fsanitize=fuzzer-no-link flag to the driver. 2017-08-11 17:22:58 +00:00
Linux.h
MSVC.cpp [Driver] Recognize DevDiv internal builds of MSVC, with a different directory structure. 2017-08-21 22:19:33 +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 [AArch64] Add support for a MinGW AArch64 target 2017-08-13 19:42:17 +00:00
MinGW.h [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. 2017-08-03 23:55:42 +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 Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through. 2017-05-23 05:17:49 +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 Enable libfuzzer on NetBSD/amd64 2017-08-21 19:12:14 +00:00
NetBSD.h [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. 2017-08-03 23:55:42 +00:00
OpenBSD.cpp Also pass -pie back to the linker when linking on OpenBSD. 2017-07-30 21:13:59 +00:00
OpenBSD.h
PS4CPU.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
PS4CPU.h
Solaris.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
Solaris.h Unconditionally use .init_array instead of .ctors on Solaris. 2017-07-14 17:49:52 +00:00
TCE.cpp Driver/ToolChains: Remove extra semicolons. NFC 2017-03-09 00:14:57 +00:00
TCE.h
WebAssembly.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
WebAssembly.h [OpenMP] Extend CLANG target options with device offloading kind. 2017-07-06 16:22:21 +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