summaryrefslogtreecommitdiffstats
path: root/win_dump.c
diff options
context:
space:
mode:
authorAlex Bennée2018-06-22 18:23:44 +0200
committerAlex Bennée2018-07-05 16:59:41 +0200
commit7781afb49cdcc41b5cd06d4daa53aa1bc45f95ac (patch)
tree466cce95530932378410377d9d93c36bd6d15200 /win_dump.c
parentlinux-user: introduce preexit_cleanup (diff)
downloadqemu-7781afb49cdcc41b5cd06d4daa53aa1bc45f95ac.tar.gz
qemu-7781afb49cdcc41b5cd06d4daa53aa1bc45f95ac.tar.xz
qemu-7781afb49cdcc41b5cd06d4daa53aa1bc45f95ac.zip
linux-user: add gcov support to preexit_cleanup
As we don't always take the normal exit path when running a guest we can skip the normal exit destructors where gcov normally dumps it's info. The GCC manual suggests long running programs use __gcov_dump() to flush out the coverage state periodically so we use that here. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'win_dump.c')
0 files changed, 0 insertions, 0 deletions