[PATCH] D43278: Add Xray instrumentation support to FreeBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 14:07:56 PST 2018


devnexen added inline comments.


================
Comment at: lib/xray/tests/unit/fdr_logging_test.cc:160
     std::thread t{[I, &Threads] {
       fdrLoggingHandleArg0(I + 1, XRayEntryType::ENTRY);
----------------
krytarowski wrote:
> Missing context.. but Threads is defined as: `std::array<pid_t, 2> Threads;`
> 
> Shouldn't this be `Tid_t` or `uint64_t`?
Good question ... I d say Tid_t ?


https://reviews.llvm.org/D43278





More information about the llvm-commits mailing list