[PATCH] D43278: Add Xray instrumentation support to FreeBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 17:11:42 PST 2018


krytarowski added inline comments.


================
Comment at: lib/xray/tests/unit/fdr_logging_test.cc:196
+  tid_t Latest = 0;
+  memcpy(&Latest, MDR1.Data, sizeof(int32_t));
   ASSERT_EQ(Latest, Threads[1]);
----------------
Is this Endian safe?


https://reviews.llvm.org/D43278





More information about the llvm-commits mailing list