Don't change the visibility when converting a definition to a declaration.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 Jul 2015 14:18:22 +0000 (14:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 Jul 2015 14:18:22 +0000 (14:18 +0000)
commit237c3a6defd13a6af8ffcb786fc1f02fcc3483ea
tree451a26fe671cd4ff328ed6bc2b036c6b4678b901
parentef5aa29e12d0203a8196ed715d262357deddc218
Don't change the visibility when converting a definition to a declaration.

llvm-svn: 242030
llvm/include/llvm/LinkAllPasses.h
llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
llvm/lib/Transforms/IPO/IPO.cpp
llvm/test/Transforms/EliminateAvailableExternally/visibility.ll [new file with mode: 0644]