@@ -144,7 +144,7 @@ def debug_settings_test_suite(name, tags = []):
144144 "-Xfrontend -no-serialize-debugging-options" ,
145145 "-gline-tables-only" ,
146146 ],
147- mnemonic = "SwiftCompile " ,
147+ mnemonic = "SwiftCompileModule " ,
148148 tags = all_tags ,
149149 target_under_test = "//test/fixtures/debug_settings:simple" ,
150150 )
@@ -158,7 +158,7 @@ def debug_settings_test_suite(name, tags = []):
158158 not_expected_argv = [
159159 "-Xwrapped-swift=-debug-prefix-pwd-is-dot" ,
160160 ],
161- mnemonic = "SwiftCompile " ,
161+ mnemonic = "SwiftCompileModule " ,
162162 tags = all_tags ,
163163 target_under_test = "//test/fixtures/debug_settings:simple" ,
164164 )
@@ -179,7 +179,7 @@ def debug_settings_test_suite(name, tags = []):
179179 "-Xfrontend -serialize-debugging-options" ,
180180 "-gline-tables-only" ,
181181 ],
182- mnemonic = "SwiftCompile " ,
182+ mnemonic = "SwiftCompileModule " ,
183183 tags = all_tags ,
184184 target_under_test = "//test/fixtures/debug_settings:simple" ,
185185 )
@@ -199,7 +199,7 @@ def debug_settings_test_suite(name, tags = []):
199199 "-Xfrontend -no-serialize-debugging-options" ,
200200 "-g" ,
201201 ],
202- mnemonic = "SwiftCompile " ,
202+ mnemonic = "SwiftCompileModule " ,
203203 tags = all_tags ,
204204 target_under_test = "//test/fixtures/debug_settings:simple" ,
205205 )
@@ -219,7 +219,7 @@ def debug_settings_test_suite(name, tags = []):
219219 "-Xfrontend -no-serialize-debugging-options" ,
220220 "-gline-tables-only" ,
221221 ],
222- mnemonic = "SwiftCompile " ,
222+ mnemonic = "SwiftCompileModule " ,
223223 tags = all_tags ,
224224 target_under_test = "//test/fixtures/debug_settings:simple" ,
225225 )
@@ -238,6 +238,8 @@ def debug_settings_test_suite(name, tags = []):
238238 "-g" ,
239239 "-gline-tables-only" ,
240240 ],
241+ # In optimized mode, the driver still uses a single invocation for both
242+ # the module and for codegen.
241243 mnemonic = "SwiftCompile" ,
242244 tags = all_tags ,
243245 target_under_test = "//test/fixtures/debug_settings:simple" ,
@@ -254,6 +256,8 @@ def debug_settings_test_suite(name, tags = []):
254256 not_expected_argv = [
255257 "-Xfrontend -serialize-debugging-options" ,
256258 ],
259+ # In optimized mode, the driver still uses a single invocation for both
260+ # the module and for codegen.
257261 mnemonic = "SwiftCompile" ,
258262 tags = all_tags ,
259263 target_under_test = "//test/fixtures/debug_settings:simple" ,
@@ -266,7 +270,7 @@ def debug_settings_test_suite(name, tags = []):
266270 "__BAZEL_XCODE_DEVELOPER_DIR__=/PLACEHOLDER_DEVELOPER_DIR" ,
267271 ],
268272 target_compatible_with = ["@platforms//os:macos" ],
269- mnemonic = "SwiftCompile " ,
273+ mnemonic = "SwiftCompileModule " ,
270274 tags = all_tags ,
271275 target_under_test = "//test/fixtures/debug_settings:simple" ,
272276 )
0 commit comments