HomePhabricator

[CodeGen] Set construction vtable visibility after creating initializer

Authored by phosek on Feb 11 2019, 12:13 PM.

Description

[CodeGen] Set construction vtable visibility after creating initializer

We must only set the construction vtable visibility after we create the
vtable initializer, otherwise the global value will be treated as
declaration rather than definition and the visibility won't be set.

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

llvm-svn: 353742