From ef67311af296a07932ffeb6dd22b355d746adffc Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Tue, 16 Jun 2026 10:56:32 +0200 Subject: [PATCH] Swift: Filter more clang options not recognized by off-the-shelf clang --- swift/tools/tracing-config.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swift/tools/tracing-config.lua b/swift/tools/tracing-config.lua index a29e7b3b953..22ce71b2e78 100644 --- a/swift/tools/tracing-config.lua +++ b/swift/tools/tracing-config.lua @@ -54,6 +54,8 @@ function RegisterExtractorPack(id) strip_unsupported_arg(args, '-experimental-skip-non-inlinable-function-bodies-without-types', 0) strip_unsupported_clang_arg(args, '-ivfsstatcache', 1) strip_unsupported_clang_arg(args, '-fno-odr-hash-protocols', 0) + strip_unsupported_clang_arg(args, '-fobjc-msgsend-selector-stubs', 0) + strip_unsupported_clang_arg(args, '-fstack-check', 0) strip_unsupported_clang_arg(args, '-clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation', 0) strip_unsupported_clang_arg(args, '-clang-vendor-feature=+enableAggressiveVLAFolding', 0) strip_unsupported_clang_arg(args, '-clang-vendor-feature=+revert09abecef7bbf', 0)