Skip to content

Commit 5ca9ddc

Browse files
authored
Merge pull request #23377 from gottesmm/pr-8120c0560b2804416b057493961ddbaa5b8647b4
[benchmark] Compile the benchmark suite with ownership verification e…
2 parents 8441758 + 7788567 commit 5ca9ddc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ function (swift_benchmark_compile_archopts)
314314

315315
set(common_options
316316
"-c"
317+
"-Xfrontend" "-enable-sil-ownership"
317318
"-target" "${target}"
318319
"-${BENCH_COMPILE_ARCHOPTS_OPT}" ${PAGE_ALIGNMENT_OPTION})
319320

@@ -343,6 +344,7 @@ function (swift_benchmark_compile_archopts)
343344

344345
set(common_options_driver
345346
"-c"
347+
"-Xfrontend" "-enable-sil-ownership"
346348
"-target" "${target}"
347349
"-${driver_opt}")
348350

0 commit comments

Comments
 (0)