1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[XRay] initialize all members of YAMLXRayRecord for -Wmissing-field-initializers

llvm-svn: 314278
This commit is contained in:
Martin Pelikan 2017-09-27 07:30:48 +00:00
parent 86b1b509f0
commit cc817b4cbb

View File

@ -508,7 +508,7 @@ Error loadYAMLLog(StringRef Data, XRayFileHeader &FileHeader,
std::transform(Trace.Records.begin(), Trace.Records.end(),
std::back_inserter(Records), [&](const YAMLXRayRecord &R) {
return XRayRecord{R.RecordType, R.CPU, R.Type,
R.FuncId, R.TSC, R.TId};
R.FuncId, R.TSC, R.TId, R.CallArgs};
});
return Error::success();
}