[PATCH] D43278: Add Xray instrumentation support to FreeBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 09:43:23 PST 2018

krytarowski added inline comments.

Comment at: lib/xray/xray_utils.cc:101
+  tid = reinterpret_cast<uint64_t>(pthread_self());
Shouldn't this be something like:

long lwpid;

with a FreeBSD specific include `<sys/thr.h>`?


More information about the llvm-commits mailing list