mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[XRay] initialize all members of YAMLXRayRecord for -Wmissing-field-initializers
llvm-svn: 314278
This commit is contained in:
parent
86b1b509f0
commit
cc817b4cbb
@ -508,7 +508,7 @@ Error loadYAMLLog(StringRef Data, XRayFileHeader &FileHeader,
|
|||||||
std::transform(Trace.Records.begin(), Trace.Records.end(),
|
std::transform(Trace.Records.begin(), Trace.Records.end(),
|
||||||
std::back_inserter(Records), [&](const YAMLXRayRecord &R) {
|
std::back_inserter(Records), [&](const YAMLXRayRecord &R) {
|
||||||
return XRayRecord{R.RecordType, R.CPU, R.Type,
|
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();
|
return Error::success();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user