mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Switch from a version 4.2/4.4 switch to a four-byte version string to be put
into the actual gcov file. Instead of using the bottom 4 bytes as the function identifier, use a counter. This makes the identifier numbers stable across multiple runs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,8 +31,9 @@ ModulePass *createOptimalEdgeProfilerPass();
|
||||
ModulePass *createPathProfilerPass();
|
||||
|
||||
// Insert GCOV profiling instrumentation
|
||||
static const char DefaultGCovVersion[4] = {'*', '2', '0', '4'};
|
||||
ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
|
||||
bool Use402Format = false,
|
||||
const char (&Version)[4] =DefaultGCovVersion,
|
||||
bool UseExtraChecksum = false,
|
||||
bool NoRedZone = false,
|
||||
bool NoFunctionNamesInData = false);
|
||||
|
||||
Reference in New Issue
Block a user