[PATCH] D87120: [MemProf] Memory profiling runtime support

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 19:32:59 PDT 2020


vitalybuka accepted this revision.
vitalybuka added a comment.
This revision is now accepted and ready to land.

Thanks!
LGTM



================
Comment at: compiler-rt/lib/memprof/memprof_allocator.cpp:621
+    u64 user_requested_size =
+        atomic_load(&m->user_requested_size, memory_order_acquire);
+    if (memprof_inited && memprof_init_done && !destructing &&
----------------
could this be just exchange ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87120/new/

https://reviews.llvm.org/D87120



More information about the llvm-commits mailing list