available_externall linkage is not local, this was confusing the codegenerator,
authorTorok Edwin <edwintorok@gmail.com>
Sat, 23 May 2009 14:06:57 +0000 (14:06 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Sat, 23 May 2009 14:06:57 +0000 (14:06 +0000)
commitf5ff1d335b76170c2c715d5f13e6ed598b2b5677
tree85ba2d85cd9c7005582a089bd9cab92456874779
parentd14ce2f1fc41dcdcf43e612c5306351288920c7e
available_externall linkage is not local, this was confusing the codegenerator,
and it wasn't generating calls through @PLT for these functions.
hasLocalLinkage() is now false for available_externally,
I attempted to fix the inliner and dce to handle available_externally properly.
It passed make check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72328 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/GlobalValue.h
lib/Transforms/IPO/GlobalDCE.cpp
lib/Transforms/IPO/Inliner.cpp
lib/Transforms/Utils/BasicInliner.cpp
lib/Transforms/Utils/InlineCost.cpp
test/CodeGen/X86/2009-05-23-available_externally.ll [new file with mode: 0644]