[PATCH] D55046: Linker: Add support for GlobalIFunc.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 28 21:12:51 PST 2018


pcc created this revision.
pcc added a reviewer: tejohnson.
Herald added subscribers: dexonsmith, steven_wu, hiraditya, mehdi_amini.

GlobalAlias and GlobalIFunc ought to be treated the same by the IR
linker, so we can generalize the code to be in terms of their common
base class GlobalIndirectSymbol.


Repository:
  rL LLVM

https://reviews.llvm.org/D55046

Files:
  llvm/include/llvm/IR/GlobalAlias.h
  llvm/include/llvm/IR/GlobalIFunc.h
  llvm/include/llvm/IR/GlobalIndirectSymbol.h
  llvm/include/llvm/Transforms/Utils/ValueMapper.h
  llvm/lib/Linker/IRMover.cpp
  llvm/lib/Transforms/Utils/ValueMapper.cpp
  llvm/test/LTO/Resolution/X86/Inputs/ifunc2.ll
  llvm/test/LTO/Resolution/X86/ifunc2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55046.175810.patch
Type: text/x-patch
Size: 17240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181129/39909032/attachment.bin>


More information about the llvm-commits mailing list