[PATCH] D43278: Add Xray instrumentation support to FreeBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 08:53:28 PST 2018

devnexen added inline comments.

Comment at: lib/xray/xray_utils.cc:97
+  pid_t tid;
devnexen wrote:
> krytarowski wrote:
> > `pid_t` is linuxism where pid=tid.
> > On NetBSD it's `lwpid_t`.
> > 
> > It would be best to have a `typedef` like `uint64_t` `Tid_type` (or something similar).
> > 
> Did not know that about NetBSD, ok fair enough.
I hope that your own porting will be handy enough.


More information about the llvm-commits mailing list