]> granicus.if.org Git - llvm/commit
Fix several bugs:
authorChris Lattner <sabre@nondot.org>
Mon, 28 Apr 2003 01:23:29 +0000 (01:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Apr 2003 01:23:29 +0000 (01:23 +0000)
commit1fd95afab3d49d16c6d0e1e174e4537336548ab1
tree2c791a94abd11601826eaffbcfeb8da4be890a3d
parentb53a1986137752d0f9871f93af2b9fcd0bd4eee8
Fix several bugs:
  * Warnings were emitted all of the time and were really annoying
  * Functions could not be resolved unless they had external linkage.  Linkonce
    linkage was not allowed
  * ConstantPointerRef's were not handled when linking functions
    we now actually handle cast (CPR) to X -> cast (NewCPR) to X

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