IR: Disable verifier check for GlobalValues with private linkage named after a comdat...
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 6 Aug 2019 21:47:18 +0000 (21:47 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 6 Aug 2019 21:47:18 +0000 (21:47 +0000)
commit411d96f99ad3db951b84d8677c15f0230d282549
treeea992120ae5d185ccc0cb6c22ac1aa1bac8078ae
parent074a4c627493b380b3be6c6a26a10d4986c98d79
IR: Disable verifier check for GlobalValues with private linkage named after a comdat for non-COFF.

This check is only meaningful for COFF and it is perfectly valid to create
such a GlobalValue in ELF.

Differential Revision: https://reviews.llvm.org/D65686

llvm-svn: 368094
llvm/lib/IR/Verifier.cpp
llvm/test/Verifier/comdat2.ll