[PATCH] D65848: [ThinLTO][AutoFDO] Fix memory corruption due to race condition from thin backends

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 08:40:27 PDT 2019


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

LGTM.



================
Comment at: llvm/include/llvm/ProfileData/SampleProf.h:451
+
+    assert(GUIDToFuncNameMap);
+    auto iter = GUIDToFuncNameMap->find(std::stoull(Name.data()));
----------------
Please add some assertion message.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65848





More information about the llvm-commits mailing list