[all-commits] [llvm/llvm-project] 57f6fd: [JITLink] Fix typo in debugging output.

lhames via All-commits all-commits at lists.llvm.org
Tue Sep 27 10:05:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57f6fd0a348f47ca70fabdd3ed098bc59db22c09
      https://github.com/llvm/llvm-project/commit/57f6fd0a348f47ca70fabdd3ed098bc59db22c09
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h

  Log Message:
  -----------
  [JITLink] Fix typo in debugging output.


  Commit: ffe2dda29f34c221ab84c574406d7e0c062c0ab4
      https://github.com/llvm/llvm-project/commit/ffe2dda29f34c221ab84c574406d7e0c062c0ab4
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
    M llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
    M llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
    M llvm/lib/ExecutionEngine/Orc/Core.cpp
    M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
    M llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_common_symbol.s

  Log Message:
  -----------
  [ORC][JITLink] Retain Weak flags in JITDylib interfaces, propagate to LinkGraph.

Previously we stripped Weak flags from JITDylib symbol table entries once they
were resolved (there was no particularly good reason for this). Now we want to
retain them and query them when setting the Linkage on external symbols in
LinkGraphs during symbol resolution (this was the motivation for 75404e9ef88).
Making weak linkage of external definitions discoverable in the LinkGraph will
in turn allow future plugins to implement correct handling for them (by
recording locations that depend on exported weak definitions and pointing all
of these at one chosen definition at runtime).


Compare: https://github.com/llvm/llvm-project/compare/60eb06be6d23...ffe2dda29f34


More information about the All-commits mailing list