[all-commits] [llvm/llvm-project] 35c907: [JITLink] Fix access of moved-from argument in 265...

lhames via All-commits all-commits at lists.llvm.org
Sat Aug 26 19:16:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35c9072c908fac5f10704f1b3912011c67be549c
      https://github.com/llvm/llvm-project/commit/35c9072c908fac5f10704f1b3912011c67be549c
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-08-26 (Sat, 26 Aug 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
    M llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h

  Log Message:
  -----------
  [JITLink] Fix access of moved-from argument in 265d6bda95b.

The LinkGraph that is passed into the ELFJITLinker_x86_64 constructor is handed
off to the JITLinker base class, so can't be used in the constructor body. This
commit adds a getGraph method to JITLinker, and updates ELFJITLinker_x86_64 to
use that.




More information about the All-commits mailing list