Dmitry Polukhin
b34a81ff50
[IFUNC] Fix ifunc-asm.ll test
...
It seems that llc cannot be called used in assembler tests so test that
checks asm for particular target needs to be moved to codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265770 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-08 06:45:19 +00:00
Dmitry Polukhin
bf5cff26fe
Fix test/Assembler/ifunc-asm.ll test on hexagon-elf bots
...
Temporary disable llc test, it seems that such test should be in some
other directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265669 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-07 13:18:43 +00:00
Dmitry Polukhin
ba4922356c
[GCC] Attribute ifunc support in llvm
...
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
Differential Revision: http://reviews.llvm.org/D15525
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265667 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-07 12:32:19 +00:00