Skip to content

Commit c892564

Browse files
committed
Swift: Remove flags related to explict modules in the tracer config
We have not found a good way to support these.
1 parent d179e7a commit c892564

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

swift/tools/tracing-config.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ 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_arg(args, '-disable-implicit-swift-modules', 0)
57+
strip_unsupported_clang_arg(args, '-fno-implicit-modules', 0)
58+
strip_unsupported_clang_arg(args, '-fno-implicit-module-maps', 0)
59+
strip_unsupported_arg(args, '-explicit-swift-module-map-file', 1)
5660
end
5761

5862
-- xcodebuild does not always specify the -resource-dir in which case the compiler falls back

0 commit comments

Comments
 (0)