[benchmark] Add preliminary helper for measuring instructions executed.

This commit is contained in:
Graydon Hoare
2018-08-25 01:29:37 -07:00
parent f3f07ec055
commit 94725dff2b
4 changed files with 63 additions and 0 deletions

View File

@@ -315,6 +315,7 @@ function (swift_benchmark_compile_archopts)
if (is_darwin)
list(APPEND common_options
"-I" "${srcdir}/utils/ObjectiveCTests"
"-I" "${srcdir}/utils/LibProc"
"-F" "${sdk}/../../../Developer/Library/Frameworks"
"-sdk" "${sdk}"
"-no-link-objc-runtime")
@@ -344,6 +345,7 @@ function (swift_benchmark_compile_archopts)
list(APPEND common_options_driver
"-sdk" "${sdk}"
"-F" "${sdk}/../../../Developer/Library/Frameworks"
"-I" "${srcdir}/utils/LibProc"
"-no-link-objc-runtime")
endif()
set(bench_library_objects)