[all-commits] [llvm/llvm-project] 1ea8d1: [ORC] Add missing lock to CompileOnDemandLayer::ge...

lhames via All-commits all-commits at lists.llvm.org
Sun Sep 26 18:37:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ea8d12510b9e1b208a7541c86e1b02a9a3db0e2
      https://github.com/llvm/llvm-project/commit/1ea8d12510b9e1b208a7541c86e1b02a9a3db0e2
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp

  Log Message:
  -----------
  [ORC] Add missing lock to CompileOnDemandLayer::getPerDylibResources.

The getPerDylibResources method may be called concurrently from multiple
threads, so we need to protect access to the underlying map.

Possible for fix https://llvm.org/PR51064




More information about the All-commits mailing list