Skip to content

Commit 002e4d5

Browse files
committed
[TBDGen] Include extra allocating constructors instead of missing some.
Fixes rdar://problem/32253697 .
1 parent fed23ed commit 002e4d5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/TBDGen/TBDGen.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ void TBDGenVisitor::addSymbol(SILDeclRef declRef, bool checkSILOnly) {
160160
// currently need to refer to them by symbol for their own vtable.
161161
switch (declRef.getSubclassScope()) {
162162
case SubclassScope::External:
163-
// Allocating constructors retain their normal linkage behavior.
164-
if (declRef.kind == SILDeclRef::Kind::Allocator)
165-
break;
166-
167163
// Unlike the "truly" public things, private things have public symbols
168164
// unconditionally, even if they're theoretically SIL only.
169165
if (isPrivate) {

0 commit comments

Comments
 (0)