[all-commits] [llvm/llvm-project] 366152: [ORC][LLI] Remove redundant eh-frame registration ...

Lang Hames via All-commits all-commits at lists.llvm.org
Tue Feb 11 20:55:45 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3661520b46dcf704ebb5e85df011eb30ff3ae67d
      https://github.com/llvm/llvm-project/commit/3661520b46dcf704ebb5e85df011eb30ff3ae67d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M llvm/tools/lli/lli.cpp

  Log Message:
  -----------
  [ORC][LLI] Remove redundant eh-frame registration plugin construction from lli.

As of d0052ebbe2e the setUpGenericLLVMIRPlatform function will automatically
add an instance of the EHFrameRegistrationPlugin (for LLJIT instances whose
object linking layers are ObjectLinkingLayers, not RTDyldObjectLinkingLayers).

This commit removes the redundant plugin creation in the object linking
layer constructor function in lli.cpp to prevent duplicate registration of
eh-frames, which is likely the cause of recent bot failures, e.g.
https://lab.llvm.org/buildbot/#/builders/108/builds/8685.

(cherry picked from commit 9052b37ab1aa67a039b34356f37236fecc42bac2)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list