Only functions with external linkage can be resolved to function declarations.
authorChris Lattner <sabre@nondot.org>
Thu, 18 Jul 2002 03:01:24 +0000 (03:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Jul 2002 03:01:24 +0000 (03:01 +0000)
commit7f20ea7d7b9ab1b21147c58bec6491ce5ba7f816
tree340f3bef6f749818d278db004b4ef3624c5db9d5
parente306d94782b1c608857738279852dcc050c66004
Only functions with external linkage can be resolved to function declarations.
This change fixes programs that have multiple functions named the same thing,
where are least one of them is static/internal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionResolution.cpp