llvm-project/clang/lib/Driver/ToolChains
Jonas Devlieghere cf73eba142 [clang] -foptimization-record-file= should imply -fsave-optimization-record
The Clang option -foptimization-record-file= controls which file an
optimization record is output to. Optimization records are output if you
use the Clang option -fsave-optimization-record. If you specify the
first option without the second, you get a warning that the command line
argument was unused. Passing -foptimization-record-file= should imply
-fsave-optimization-record.

This fixes PR33670

Patch by: Dmitry Venikov <venikov@phystech.edu>

Differential revision: https://reviews.llvm.org/D39834

llvm-svn: 321090
2017-12-19 17:16:45 +00:00
..
Arch Revert [ARM] disable FPU features when using soft floating point. 2017-11-30 12:05:18 +00:00
AMDGPU.cpp AMDGPU/NFC: Move getAMDGPUTargetFeatures to AMDGPU toolchain 2017-11-10 19:09:57 +00:00
AMDGPU.h AMDGPU/NFC: Move getAMDGPUTargetFeatures to AMDGPU toolchain 2017-11-10 19:09:57 +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 Driver: remove `SupportsObjCGC` (NFC) 2017-11-19 00:45:33 +00:00
Clang.cpp [clang] -foptimization-record-file= should imply -fsave-optimization-record 2017-12-19 17:16:45 +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 Teach clang/NetBSD about additional dependencies for sanitizers 2017-12-19 07:10:33 +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 Driver: remove support for libstdc++ from CrossWindows 2017-09-22 04:01:12 +00:00
CrossWindows.h [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. 2017-08-03 23:55:42 +00:00
Cuda.cpp Fix function call to fix build 2017-11-29 15:18:02 +00:00
Cuda.h [OpenMP] Consistently use cubin extension for nvlink 2017-11-21 14:44:45 +00:00
Darwin.cpp Fix MSVC 'not all control paths return a value' warning 2017-12-10 11:05:14 +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 Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
FreeBSD.h Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
Fuchsia.cpp [Driver] Use ld.lld directly for Fuchsia rather than passing flavor 2017-10-23 21:31:05 +00:00
Fuchsia.h [Driver] Make the use of relax relocations a per target option 2017-11-22 01:38:31 +00:00
Gnu.cpp Don't link NetBSD programs with -ldl in linkXRayRuntimeDeps 2017-12-09 00:34:01 +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 [Hexagon] Add front-end support for Hexagon V65 2017-12-13 13:48:07 +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 Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
Linux.h Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
MSVC.cpp Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +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 Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +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 Rename sparc-myriad-elf triplet to sparc-myriad-rtems 2017-12-19 16:19:11 +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 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 [WebAssembly] Pass through --undefined to Wasm LLD 2017-12-02 23:11:13 +00:00
WebAssembly.h [WebAssemby] Enable "-mthread-model single" by default, for now. 2017-11-27 21:39:16 +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