[PATCH] D145318: [IRLinker] Fix mapping of declaration metadata

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 00:21:45 PST 2023


critson created this revision.
critson added reviewers: tejohnson, dexonsmith.
Herald added a subscriber: hiraditya.
Herald added a project: All.
critson requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Ensure metadata for declarations copied during materialization
is properly mapped if declarations do not become definitions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145318

Files:
  llvm/include/llvm/Transforms/Utils/ValueMapper.h
  llvm/lib/Linker/IRMover.cpp
  llvm/lib/Transforms/Utils/ValueMapper.cpp
  llvm/test/Linker/Inputs/metadata-function.ll
  llvm/test/Linker/metadata-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145318.502408.patch
Type: text/x-patch
Size: 4598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230305/91d52187/attachment.bin>


More information about the llvm-commits mailing list