Skip to content

Commit 004dfbd

Browse files
authored
Merge pull request #21005 from jketema/swift-filter-arg
Swift: Update tracer configuration
2 parents c79cdea + 3cabcfe commit 004dfbd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

swift/tools/tracing-config.lua

Lines changed: 10 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)
@@ -120,6 +127,9 @@ function RegisterExtractorPack(id)
120127
if compilerArguments.argv[1] == '-emit-supported-features' then
121128
return nil
122129
end
130+
if compilerArguments.argv[1] == '-scan-dependencies' then
131+
return nil
132+
end
123133

124134
strip_unsupported_args(compilerArguments.argv)
125135
replace_resource_dir(compilerPath, compilerArguments.argv)

0 commit comments

Comments
 (0)