mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
Expose a switch for the new gcov format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145880 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dce42b75dc
commit
7c06741004
@ -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();
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user