[all-commits] [llvm/llvm-project] ff5212: [Orc] Fix race condition in DebugObjectManagerPlugin

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Fri Mar 12 05:04:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff52121bba0c30c0cfe745791b27d2604dee4fda
      https://github.com/llvm/llvm-project/commit/ff52121bba0c30c0cfe745791b27d2604dee4fda
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

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

  Log Message:
  -----------
  [Orc] Fix race condition in DebugObjectManagerPlugin

During finalization the debug object is registered with the target. Materialization must wait for this process to finish. Otherwise we might start running code before the debugger finished processing the corresponding debug info.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D98417




More information about the All-commits mailing list