Add convenient helper for checking whether global is weak in linker sense
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 5 Jul 2008 23:48:30 +0000 (23:48 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 5 Jul 2008 23:48:30 +0000 (23:48 +0000)
commit80585f1daac3570f19cd255c5006dfcf2ff65a89
tree3eafa71e339d218b73cf4c8888446bcfb0311a40
parent7ab23c429770d475f9d93cc93751a730b5bae887
Add convenient helper for checking whether global is weak in linker sense
having weak or linkonce or common or extweak LLVM linkage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53158 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/GlobalValue.h
lib/Linker/LinkModules.cpp