qemu/contrib/plugins
Kohei Tokunaga 01499add2a contrib/plugins: Fix type conflict of GLib function pointers
On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <0fcddfca16ca8da2bdaa7b2c114476f5b73d032b.1745295397.git.ktokunaga.mail@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-04-25 17:09:58 +02:00
..
bbv.c contrib/plugins/bbv.c: Start bb index from 1 2024-12-28 14:42:53 +03:00
cache.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
cflow.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
drcov.c contrib/plugins/drcov: Fix string format 2023-09-07 12:54:17 +02:00
execlog.c contrib/plugins/execlog: Fix shadowed declaration warning 2024-08-20 00:49:14 +02:00
hotblocks.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
hotpages.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
howvec.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
hwprofile.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
ips.c contrib/plugins: avoid hanging program 2024-09-19 15:58:01 +01:00
lockstep.c contrib/plugins: add compat for g_memdup2 2024-07-30 11:44:21 +01:00
meson.build plugins: add explicit dependency in functional tests 2025-03-10 10:30:00 +00:00
stoptrigger.c contrib/plugins/stoptrigger: fix 32-bit build 2025-01-17 10:44:44 +00:00
win32_linker.c plugins: make test/example plugins work on windows 2023-11-08 15:15:23 +00:00