Skip to content

Commit 2d190de

Browse files
committed
Allow Swift DATA_CONST,DATA symbol table entries
Previously updated for non-Swift in flutter#167737.
1 parent 56aa214 commit 2d190de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

engine/src/flutter/testing/symbols/verify_exported.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ int _checkIos(String outPath, String nmPath, Iterable<String> builds) {
114114
(entry.type == '(__TEXT,__text)' ||
115115
entry.type == '(__TEXT,__const)' ||
116116
entry.type == '(__TEXT,__constg_swiftt)' ||
117+
entry.type == '(__DATA_CONST,__const)' ||
118+
entry.type == '(__DATA,__data)' ||
117119
entry.type == '(__DATA,__objc_data)') &&
118120
swiftInternalRegExp.hasMatch(entry.name);
119121
return !(cSymbol || cInternalSymbol || objcSymbol || swiftInternalSymbol);

0 commit comments

Comments
 (0)