forked from OSchip/llvm-project
[SampleFDO] Fix uninitialized field warnings. NFCI.
Seems to have been caused by D93254 which added the SecHdrTableEntry::LayoutIndex field.
This commit is contained in:
parent
36bf2de8d8
commit
4bb10be9a6
|
@ -278,9 +278,9 @@ private:
|
||||||
// profile because FuncOffsetTable needs to be populated while section
|
// profile because FuncOffsetTable needs to be populated while section
|
||||||
// SecLBRProfile is written.
|
// SecLBRProfile is written.
|
||||||
SectionHdrLayout = {
|
SectionHdrLayout = {
|
||||||
{SecProfSummary, 0, 0, 0}, {SecNameTable, 0, 0, 0},
|
{SecProfSummary, 0, 0, 0, 0}, {SecNameTable, 0, 0, 0, 0},
|
||||||
{SecFuncOffsetTable, 0, 0, 0}, {SecLBRProfile, 0, 0, 0},
|
{SecFuncOffsetTable, 0, 0, 0, 0}, {SecLBRProfile, 0, 0, 0, 0},
|
||||||
{SecProfileSymbolList, 0, 0, 0}, {SecFuncMetadata, 0, 0, 0}};
|
{SecProfileSymbolList, 0, 0, 0, 0}, {SecFuncMetadata, 0, 0, 0, 0}};
|
||||||
};
|
};
|
||||||
virtual std::error_code
|
virtual std::error_code
|
||||||
writeSections(const StringMap<FunctionSamples> &ProfileMap) override;
|
writeSections(const StringMap<FunctionSamples> &ProfileMap) override;
|
||||||
|
|
Loading…
Reference in New Issue