llvm-extract changes linkages so that functions on both sides of the
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 29 Oct 2012 01:59:03 +0000 (01:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 29 Oct 2012 01:59:03 +0000 (01:59 +0000)
commit9cb90e7c1578de19d00806cc121a8ef5ad6c9089
tree065f8cdfa901540cf70cc0951937fed4851f2c58
parentc0916d30e09192b7023e453aaa7d2ffe026345ed
llvm-extract changes linkages so that functions on both sides of the
split module can see each other. If it is keeping a symbol that already has
a non local linkage, it doesn't need to change it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ExtractGV.cpp
test/Other/extract-weak-odr.ll [new file with mode: 0644]
test/Other/extract.ll