commit | d1ec48c641f76d4c0e5b7cb357a1333d4fb75c4a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jul 14 06:49:45 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jul 14 06:49:45 2008 +0000 |
tree | 3d1ecbd6559d1eb32d37371a04a7ff980f218213 | |
parent | 0bb8757997392ee18ca9de0f1fab29463f8e7aeb [diff] |
implement linking of globals to functions, in one direction (replacing a function with a global). This is needed when building llvm itself with LTO on darwin, because of the EXPLICIT_SYMBOL hack in lib/system/DynamicLibrary.cpp. Implementation of linking the other way will need to wait for a cleanup of LinkFunctionProtos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53546 91177308-0d34-0410-b5e6-96231b3b80d8