[all-commits] [llvm/llvm-project] 214a9f: [ORC] Add a mutex to guard EHFrameRegistrationPlug...

lhames via All-commits all-commits at lists.llvm.org
Thu Mar 12 15:34:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 214a9f0dd4814988b55311dd777d0ef3ad1830ee
      https://github.com/llvm/llvm-project/commit/214a9f0dd4814988b55311dd777d0ef3ad1830ee
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
    M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp

  Log Message:
  -----------
  [ORC] Add a mutex to guard EHFrameRegistrationPlugin data structures.

These may be accessed from multiple threads if concurrent materialization is
enabled in ORC.

Testcase coming in a follow-up patch that enables eh-frame registration for
LLJIT.


  Commit: 7266a8bfeb85efba30f942a89d257d6f94ca1811
      https://github.com/llvm/llvm-project/commit/7266a8bfeb85efba30f942a89d257d6f94ca1811
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    A llvm/test/ExecutionEngine/OrcLazy/minimal-throw-catch.ll

  Log Message:
  -----------
  [ORC] Enable exception handling in JIT'd code when using LLJIT on Darwin.

This patch enables exception handling in code added to LLJIT on Darwin by
adding an orc::EHFrameRegistrationPlugin instance to the ObjectLinkingLayer
(which is currently used on Darwin only).


Compare: https://github.com/llvm/llvm-project/compare/2411f56bfd1c...7266a8bfeb85


More information about the All-commits mailing list