[all-commits] [llvm/llvm-project] 565f4e: [JITLink] Update external symbol scopes to reflect...

lhames via All-commits all-commits at lists.llvm.org
Thu Sep 29 21:02:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 565f4eb8e607d8e0fbba00d3bca464c51b02a2b8
      https://github.com/llvm/llvm-project/commit/565f4eb8e607d8e0fbba00d3bca464c51b02a2b8
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

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

  Log Message:
  -----------
  [JITLink] Update external symbol scopes to reflect scopes of resolved defs.

This is a counterpart to ffe2dda29f3, and does for scope what that commit did
for linkage.

Making the scope of external definitions visible to JITLink plugins will
allow us to distinguish hidden weak defs (which do not need to be tracked by
default) from default-scoped weak defs (which need to be updated to point at
a single chosen definition at runtime).




More information about the All-commits mailing list