Skip to content

Commit 7788567

Browse files
committed
[benchmark] Compile the benchmark suite with ownership verification enabled.
1 parent 9ca98f4 commit 7788567

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)