llvm-project/clang/lib/Driver/ToolChains
Piotr Padlewski e368de364e Add -fforce-emit-vtables
Summary:
 In many cases we can't devirtualize
 because definition of vtable is not present. Most of the
 time it is caused by inline virtual function not beeing
 emitted. Forcing emitting of vtable adds a reference of these
 inline virtual functions.
 Note that GCC was always doing it.

Reviewers: rjmccall, rsmith, amharc, kuhar

Subscribers: llvm-commits, cfe-commits

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

Co-authored-by: Krzysztof Pszeniczny <krzysztof.pszeniczny@gmail.com>
llvm-svn: 334600
2018-06-13 13:55:42 +00:00
..
Arch [AArch64] Support reserving x20 register 2018-06-12 20:00:50 +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 Remove unused includes of clang/Config/config.h 2018-04-28 23:48:36 +00:00
Ananas.h Add support for Ananas platform 2017-06-25 08:29:09 +00:00
BareMetal.cpp [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
BareMetal.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
Clang.cpp Add -fforce-emit-vtables 2018-06-13 13:55:42 +00:00
Clang.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CloudABI.cpp Remove unused includes of clang/Config/config.h 2018-04-28 23:48:36 +00:00
CloudABI.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
CommonArgs.cpp Fix unused variable warning in r332724 2018-05-18 16:29:42 +00:00
CommonArgs.h [HIP] Support offloading by linker script 2018-05-18 15:07:56 +00:00
Contiki.cpp
Contiki.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
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 [CUDA] Fixed the list of GPUs supported by CUDA-9. 2018-05-23 16:45:23 +00:00
Cuda.h Move VersionTuple from clang/Basic to llvm/Support 2018-06-11 10:28:04 +00:00
Darwin.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +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 Enable -fsanitize=function on FreeBSD. 2018-05-03 06:37:47 +00:00
FreeBSD.h Toolchain: Normalize dwarf, sjlj and seh eh 2017-11-29 07:25:12 +00:00
Fuchsia.cpp [Driver][Fuchsia] Pass LTO flags to linker 2018-06-05 01:50:59 +00:00
Fuchsia.h [Driver] Enable SafeStack by default on Fuchsia 2018-03-07 02:49:58 +00:00
Gnu.cpp [HIP] Support offloading by linker script 2018-05-18 15:07:56 +00:00
Gnu.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
HIP.cpp Fix -Wunused in NDEBUG introduced by HIP r333484 2018-05-30 08:03:43 +00:00
HIP.h Add HIP toolchain 2018-05-30 00:53:50 +00:00
Haiku.cpp [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
Haiku.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
Hexagon.cpp Remove unused includes of clang/Config/config.h 2018-04-28 23:48:36 +00:00
Hexagon.h [Hexagon] Emit a warning when -fvectorize is given without -mhvx 2018-04-16 19:11:17 +00:00
Lanai.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
Linux.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Linux.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
MSVC.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
MSVC.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
MSVCSetupApi.h Update clang-cl driver for MSVC 2017. 2017-03-15 16:07:35 +00:00
MinGW.cpp [MinGW] Try to fix asan testing after r330244 2018-04-18 17:34:29 +00:00
MinGW.h [MinGW] Look for a cross sysroot relative to the clang binary 2018-04-18 08:47:26 +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 Remove unused includes of clang/Config/config.h 2018-04-28 23:48:36 +00:00
MipsLinux.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
Myriad.cpp [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
Myriad.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
NaCl.cpp Revert "Handle the default case" 2018-04-10 21:29:18 +00:00
NaCl.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
NetBSD.cpp Support XRay in the NetBSD driver 2018-05-11 01:00:38 +00:00
NetBSD.h [Driver] Allow drivers to add multiple libc++ include paths 2018-04-10 19:55:55 +00:00
OpenBSD.cpp OpenBSD add C++ runtime in a driver's standpoint 2018-04-19 06:55:30 +00:00
OpenBSD.h OpenBSD add C++ runtime in a driver's standpoint 2018-04-19 06:55:30 +00:00
PS4CPU.cpp [Driver] Add flag "--dependent-lib=..." when enabling asan or ubsan on PS4. 2018-06-06 14:04:15 +00:00
PS4CPU.h [Driver] Add flag "--dependent-lib=..." when enabling asan or ubsan on PS4. 2018-06-06 14:04:15 +00:00
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