Skip to content

Commit ea4de96

Browse files
chris-eiblzooba
andauthored
Apply suggestions from code review
Co-authored-by: Steve Dower <[email protected]>
1 parent 2a9da27 commit ea4de96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PCbuild/pyproject-clangcl.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<Target Name="MergeClangProfileData" BeforeTargets="PrepareForBuild"
1818
Condition="'$(SupportPGO)' and $(Configuration) == 'PGUpdate'"
1919
Inputs="@(_profrawFiles)"
20-
Outputs="@(_profrawFiles->'$(OutDir)instrumented\profdata.profdata')">
20+
Outputs="$(OutDir)instrumented\profdata.profdata">
2121
<Exec
22-
Command='"$(LLVMInstallDir)\bin\llvm-profdata.exe" merge -output=$(OutDir)instrumented\profdata.profdata $(OutDir)instrumented\*_*.profraw' />
22+
Command='"$(LLVMInstallDir)\bin\llvm-profdata.exe" merge -output="$(OutDir)instrumented\profdata.profdata" "$(OutDir)instrumented\*_*.profraw"' />
2323
</Target>
2424

2525
<Target Name="CleanClangProfileData" BeforeTargets="Clean">
26-
<Delete Files="@(_profrawFiles->'$(OutDir)instrumented\%(Filename)%(Extension)')" TreatErrorsAsWarnings="true" />
26+
<Delete Files="@(_profrawFiles)" TreatErrorsAsWarnings="true" />
2727
<Delete Files="$(OutDir)instrumented\profdata.profdata" TreatErrorsAsWarnings="true" />
2828
</Target>
2929

0 commit comments

Comments
 (0)