File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/include/llvm/ProfileData Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class SampleProfileWriter {
80
80
void computeSummary (const StringMap<FunctionSamples> &ProfileMap);
81
81
82
82
// / Profile format.
83
- SampleProfileFormat Format;
83
+ SampleProfileFormat Format = SPF_None ;
84
84
};
85
85
86
86
// / Sample-based profile writer (text format).
@@ -227,7 +227,7 @@ class SampleProfileWriterExtBinary : public SampleProfileWriterExtBinaryBase {
227
227
// Save the start of SecLBRProfile so we can compute the offset to the
228
228
// start of SecLBRProfile for each Function's Profile and will keep it
229
229
// in FuncOffsetTable.
230
- uint64_t SecLBRProfileStart;
230
+ uint64_t SecLBRProfileStart = 0 ;
231
231
// FuncOffsetTable maps function name to its profile offset in SecLBRProfile
232
232
// section. It is used to load function profile on demand.
233
233
MapVector<StringRef, uint64_t > FuncOffsetTable;
You can’t perform that action at this time.
0 commit comments