File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -980,8 +980,8 @@ def compile_source_file(i, input_file):
980
980
if get_file_suffix (input_file ) in ['.pcm' ]:
981
981
cmd = [c for c in cmd if not c .startswith ('-fprebuilt-module-path=' )]
982
982
cmd += compile_args + ['-c' , input_file , '-o' , output_file ]
983
- if state . mode == Mode . COMPILE_AND_LINK and options .requested_debug == '-gsplit-dwarf' :
984
- # When running in COMPILE_AND_LINK mode we compile to temporary location
983
+ if options .requested_debug == '-gsplit-dwarf' :
984
+ # When running in COMPILE_AND_LINK mode we compile objects to a temporary location
985
985
# but we want the `.dwo` file to be generated in the current working directory,
986
986
# like it is under clang. We could avoid this hack if we use the clang driver
987
987
# to generate the temporary files, but that would also involve using the clang
You can’t perform that action at this time.
0 commit comments