I'm doing some refactoring in llvm/Support/Program.h and I've noticed that xray uses sys::procid_t but doesn't really need it (a uint32_t thread id is always stored in that map)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/llvm-xray/xray-account.h | ||
---|---|---|
80 ↗ | (On Diff #199606) | I also noticed this isn't used - please let me know if you want to keep it. |
Comment Actions
lgtm, the serialized types are uint32_t:
struct alignas(32) XRayRecord { ... // The thread ID for the currently running thread. uint32_t TId = 0; // The ID of process that is currently running uint32_t PId = 0;
Comment Actions
LGTM -- really sorry for the delay here, for some reason I didn't get to this earlier. :(