Revert "[LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_exter...
authorAlan Zhao <ayzhao@google.com>
Fri, 11 Nov 2022 01:48:18 +0000 (17:48 -0800)
committerAlan Zhao <ayzhao@google.com>
Fri, 11 Nov 2022 01:48:18 +0000 (17:48 -0800)
commit885e6105b4a6cb5fa8a80c33695c3a225d70fd45
tree76fa3878dbd3f9ccbea04294a5b0df5c1997f86b
parentda34aff90d2b08f8172dd4942e398fc0c012399c
Revert "[LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally"

This reverts commit 89ddcff1d2d6e9f4de78f3a563a8b1987bf7ea8f.

Reason: This breaks bootstrapping builds of LLVM on Windows using
ThinLTO; see https://crbug.com/1382839
llvm/lib/LTO/LTO.cpp
llvm/lib/Transforms/IPO/FunctionImport.cpp
llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll
llvm/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll
llvm/test/ThinLTO/X86/constructor-alias.ll [deleted file]
llvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll