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
This commit is contained in:
Nick Lewycky
2013-02-27 06:22:56 +00:00
parent 58591b1647
commit 52b4edf6a1
3 changed files with 24 additions and 12 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ ModulePass *createPathProfilerPass();
ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
bool Use402Format = false,
bool UseExtraChecksum = false,
bool NoRedZone = false);
bool NoRedZone = false,
bool NoFunctionNamesInData = false);
// Insert AddressSanitizer (address sanity checking) instrumentation
FunctionPass *createAddressSanitizerFunctionPass(