mirror of
https://github.com/mborgerson/xemu.git
synced 2026-03-13 14:44:51 +00:00
Statistic code is not specific to system emulation (except cross-page checks) and can be used to analyze user-mode binaries. Extract statistic related code to its own file: tcg-stats.c, keeping the original LGPL-2.1-or-later license tag. Note, this code is not yet reachable by user-mode. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250715140048.84942-3-philmd@linaro.org>
40 lines
629 B
Meson
40 lines
629 B
Meson
if not have_tcg
|
|
subdir_done()
|
|
endif
|
|
|
|
tcg_ss = ss.source_set()
|
|
|
|
tcg_ss.add(files(
|
|
'cpu-exec.c',
|
|
'cpu-exec-common.c',
|
|
'tcg-runtime.c',
|
|
'tcg-runtime-gvec.c',
|
|
'tb-maint.c',
|
|
'tcg-all.c',
|
|
'tcg-stats.c',
|
|
'translate-all.c',
|
|
'translator.c',
|
|
))
|
|
if get_option('plugins')
|
|
tcg_ss.add(files('plugin-gen.c'))
|
|
endif
|
|
|
|
user_ss.add_all(tcg_ss)
|
|
system_ss.add_all(tcg_ss)
|
|
|
|
user_ss.add(files(
|
|
'user-exec.c',
|
|
'user-exec-stub.c',
|
|
))
|
|
|
|
system_ss.add(files(
|
|
'cputlb.c',
|
|
'icount-common.c',
|
|
'monitor.c',
|
|
'tcg-accel-ops.c',
|
|
'tcg-accel-ops-icount.c',
|
|
'tcg-accel-ops-mttcg.c',
|
|
'tcg-accel-ops-rr.c',
|
|
'watchpoint.c',
|
|
))
|