[PATCH] D49025: [XRay] basic mode PID and TID always fetch

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 01:35:14 PDT 2018


dberris added inline comments.


================
Comment at: compiler-rt/lib/xray/xray_basic_logging.cc:231
+  R.TId = GetTid(); 
+  R.Pid = getpid(); 
   R.Type = Type;
----------------
Can you use `internal_getpid()` instead?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D49025





More information about the llvm-commits mailing list