]> granicus.if.org Git - clang/commit
Add whole-program vtable optimization feature to Clang.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 24 Feb 2016 20:46:36 +0000 (20:46 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 24 Feb 2016 20:46:36 +0000 (20:46 +0000)
commit209acc3e3dae1499aca767441406403f77ccc8ee
treedde54b3893a2e9ec071433c4bd5d4f5cdcfbb62e
parent1d71b291bc87fc8137bd8c976bba2753e2de45ee
Add whole-program vtable optimization feature to Clang.

This patch introduces the -fwhole-program-vtables flag, which enables the
whole-program vtable optimization feature (D16795) in Clang.

Differential Revision: http://reviews.llvm.org/D16821

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261767 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
docs/UsersManual.rst
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
runtime/CMakeLists.txt
runtime/vtables_blacklist.txt [new file with mode: 0644]
test/CodeGenCXX/bitset-blacklist.cpp [moved from test/CodeGenCXX/cfi-blacklist.cpp with 69% similarity]
test/CodeGenCXX/bitsets.cpp [moved from test/CodeGenCXX/cfi-vcall.cpp with 86% similarity]
test/Driver/Inputs/resource_dir/vtables_blacklist.txt [new file with mode: 0644]
test/Driver/whole-program-vtables.c [new file with mode: 0644]