fix a nasty bug where we were not treating available_externally
authorChris Lattner <sabre@nondot.org>
Mon, 14 Jun 2010 20:11:56 +0000 (20:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Jun 2010 20:11:56 +0000 (20:11 +0000)
commit6b601536ff1f5d18f738a322a331ed5fdc89e46a
tree3d2466c815b5d8e7d7317d94bb27e00edd1eddb7
parent82c4fbbc2f581efd8ce6856c89344d1e04527976
fix a nasty bug where we were not treating available_externally
symbols as declarations in the X86 backend.  This would manifest
on darwin x86-32 as errors like this with -fvisibility=hidden:

symbol '__ZNSbIcED1Ev' can not be undefined in a subtraction expression

This fixes PR7353.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
test/CodeGen/X86/hidden-vis-pic.ll