[PATCH] D15525: [GCC] Attribute ifunc support in llvm

Dmitry Polukhin via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 06:36:12 PST 2015


DmitryPolukhin created this revision.
DmitryPolukhin added a subscriber: llvm-commits.
Herald added a subscriber: joker.eph.

This patch add support for GCC attribute((ifunc("resolver"))) for targets that use ELF as object file format. In general ifunc is a special kind of function alias with type @gnu_indirect_function. Patch for Clang http://reviews.llvm.org/D15524

http://reviews.llvm.org/D15525

Files:
  include/llvm/IR/GlobalAlias.h
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/Globals.cpp
  test/Assembler/ifunc-alias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15525.42846.patch
Type: text/x-patch
Size: 6027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151215/e98306f8/attachment.bin>


More information about the llvm-commits mailing list