Skip to content

Commit e9aa6dd

Browse files
committed
Swift: Strip more unsupported arguments
We had customer reports where these occur in practise, although we have not observed these ourselves in frontend calls.
1 parent fe18e0e commit e9aa6dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

swift/tools/tracing-config.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ function RegisterExtractorPack(id)
5353
strip_unsupported_arg(args, '-stack-check', 0)
5454
strip_unsupported_arg(args, '-experimental-skip-non-inlinable-function-bodies-without-types', 0)
5555
strip_unsupported_clang_arg(args, '-ivfsstatcache', 1)
56+
strip_unsupported_clang_arg(args, '-fno-odr-hash-protocols', 0)
57+
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation', 0)
58+
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+enableAggressiveVLAFolding', 0)
59+
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+revert09abecef7bbf', 0)
60+
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+thisNoAlignAttr', 0)
61+
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+thisNoNullAttr', 0)
62+
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError', 0)
5663
-- The four args below are removed to workaround version mismatches due to recent versions
5764
-- of Xcode defaulting to explicit modules:
5865
strip_unsupported_arg(args, '-disable-implicit-swift-modules', 0)

0 commit comments

Comments
 (0)