Add YAML traits for ArchSpec and ProcessInstanceInfo so they can be serialized for the reproducers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good. The mapping vs sequence traits thingy is not that important, but since we do have the "dump" command, it may be worthwhile to spent a bit of time implementing a slightly more complicated traits class so that the yaml output looks nicer. (Another reason against wrapping standard containters in custom XXXList classes)
lldb/source/Utility/ProcessInfo.cpp | ||
---|---|---|
348–351 | Maybe define this as a SequenceTraits<ProcessInstanceInfoList>? I believe you could implement the required functions by simply forwarding them to SequenceTraits<std::vector<ProcessInstanceInfo>>::whatever |
Maybe define this as a SequenceTraits<ProcessInstanceInfoList>? I believe you could implement the required functions by simply forwarding them to SequenceTraits<std::vector<ProcessInstanceInfo>>::whatever