diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-02-27 06:22:56 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-02-27 06:22:56 +0000 |
commit | 52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb (patch) | |
tree | 99127260c735702a1a751e7217cbe74cd180d794 /include | |
parent | 58591b1647e0f1f213e5acd7bfa87c226ced0033 (diff) | |
download | external_llvm-52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb.zip external_llvm-52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb.tar.gz external_llvm-52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index fed92c8..a57e0f3 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -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( |