In GCC 4.7, function names are now forbidden from .gcda files. Support this by
authorNick Lewycky <nicholas@mxc.ca>
Wed, 27 Feb 2013 06:22:56 +0000 (06:22 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 27 Feb 2013 06:22:56 +0000 (06:22 +0000)
commit52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb
tree99127260c735702a1a751e7217cbe74cd180d794
parent58591b1647e0f1f213e5acd7bfa87c226ced0033
In GCC 4.7, function names are now forbidden from .gcda files. Support this by
passing a null pointer to the function name in to GCDAProfiling, and add another
switch onto GCOVProfiling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176173 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/GCOVProfiling.cpp
runtime/libprofile/GCDAProfiling.c