1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Expose a switch for the new gcov format.

llvm-svn: 145880
This commit is contained in:
Nick Lewycky 2011-12-06 00:29:13 +00:00
parent 7096fea51c
commit d59dcc5ddb
2 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,8 @@ ModulePass *createPathProfilerPass();
// Insert GCOV profiling instrumentation
ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
bool Use402Format = false);
bool Use402Format = false,
bool UseExtraChecksum = false);
// Insert AddressSanitizer (address sanity checking) instrumentation
ModulePass *createAddressSanitizerPass();

View File

@ -108,8 +108,9 @@ INITIALIZE_PASS(GCOVProfiler, "insert-gcov-profiling",
"Insert instrumentation for GCOV profiling", false, false)
ModulePass *llvm::createGCOVProfilerPass(bool EmitNotes, bool EmitData,
bool Use402Format) {
return new GCOVProfiler(EmitNotes, EmitData, Use402Format);
bool Use402Format,
bool UseExtraChecksum) {
return new GCOVProfiler(EmitNotes, EmitData, Use402Format, UseExtraChecksum);
}
namespace {