summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-02-27 06:22:56 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-02-27 06:22:56 +0000
commit52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb (patch)
tree99127260c735702a1a751e7217cbe74cd180d794 /include/llvm/Transforms
parent58591b1647e0f1f213e5acd7bfa87c226ced0033 (diff)
downloadllvm-52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb.tar.gz
llvm-52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb.tar.bz2
llvm-52b4edf6a1b5d3a9f8a94a63c702d55ed446ecdb.tar.xz
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/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Instrumentation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index fed92c838b..a57e0f3e8a 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(