[PATCH] D129089: [BOLT] Fix concurrency bugs in the instrumentation runtime

MichaƂ Chojnowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 09:38:41 PDT 2022


michoecho added a comment.

In D129089#3628617 <https://reviews.llvm.org/D129089#3628617>, @ayermolo wrote:

> Why can't we use standard std::lock_guard here?

The comments in `bolt/runtime/instr.cpp` say:

  // Since this code is intended to be inserted into any executable, we decided to
  // make it standalone and do not depend on any external libraries (i.e. language
  // support libraries, such as glibc or stdc++).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129089



More information about the llvm-commits mailing list