Revert r169656.
authorBill Wendling <isanbard@gmail.com>
Mon, 10 Dec 2012 21:33:45 +0000 (21:33 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 10 Dec 2012 21:33:45 +0000 (21:33 +0000)
commit50f318384c4db1419f9c48d85af350260c4976b8
treea9f2289117d1c965701ec5d7bcb55f96466dc248
parente1dee8a06e93f38f81f09887361045367a810436
Revert r169656.

The linker will call `lto_codegen_add_must_preserve_symbol' on all globals that
should be kept around. The linker will pretend that a dylib is being created.
<rdar://problem/12528059>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169770 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/lto.h
tools/lto/LTOCodeGenerator.cpp
tools/lto/LTOCodeGenerator.h
tools/lto/lto.cpp
tools/lto/lto.exports