Skip to content

Commit 4492e58

Browse files
committed
[benchmarks] ARC is not the default like I assumed
We are hence leaking ...
1 parent d92ae77 commit 4492e58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ function (swift_benchmark_compile_archopts)
296296
"-O3"
297297
"-target" "${target}"
298298
"-isysroot" "${sdk}"
299+
"-fobjc-arc"
299300
"-arch" "${BENCH_COMPILE_ARCHOPTS_ARCH}"
300301
"-F" "${sdk}/../../../Developer/Library/Frameworks"
301302
"-m${triple_platform}-version-min=${ver}"

0 commit comments

Comments
 (0)