[IFUNC] Introduce GlobalIndirectSymbol as a base class for alias and ifunc
authorDmitry Polukhin <dmitry.polukhin@gmail.com>
Thu, 31 Mar 2016 14:16:21 +0000 (14:16 +0000)
committerDmitry Polukhin <dmitry.polukhin@gmail.com>
Thu, 31 Mar 2016 14:16:21 +0000 (14:16 +0000)
commitcd835ad8766d4c06db11a76befc2ce072f9ae697
tree3325c5f41a49da392964fb39abd8bfbe39bda42e
parent1048fb1818c6293492d8b1066c0e4df95813c0e0
[IFUNC] Introduce GlobalIndirectSymbol as a base class for alias and ifunc

This patch is a part of http://reviews.llvm.org/D15525

GlobalIndirectSymbol class contains common implementation for both
aliases and ifuncs. This patch should be NFC change that just prepare
common code for ifunc support.

Differential Revision: http://reviews.llvm.org/D18433

llvm-svn: 265016
llvm/include/llvm/IR/GlobalAlias.h
llvm/include/llvm/IR/GlobalIndirectSymbol.h [new file with mode: 0644]
llvm/include/llvm/IR/Value.h
llvm/lib/IR/Globals.cpp