]> granicus.if.org Git - clang/commit
[profiling] PR31992: Don't skip interesting non-base constructors
authorVedant Kumar <vsk@apple.com>
Fri, 24 Feb 2017 01:15:19 +0000 (01:15 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 24 Feb 2017 01:15:19 +0000 (01:15 +0000)
commit9970e5fa39d67048aeaf8b52b3479acde3ee4ecb
tree8697873450ff0b6b5e7635008bbeefec38ff202c
parent9049fa85ca1df4c5e6468a8ae2f70e4ae5e25a25
[profiling] PR31992: Don't skip interesting non-base constructors

Fix the fact that we don't assign profile counters to constructors in
classes with virtual bases, or constructors with variadic parameters.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296062 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenPGO.cpp
test/Profile/Inputs/cxx-class.proftext
test/Profile/cxx-class.cpp
test/Profile/cxx-structors.cpp