]> www.infradead.org Git - users/dwmw2/qemu.git/commit
accel/tcg: Add debuginfo support
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 12 Jan 2023 15:20:12 +0000 (16:20 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 16 Jan 2023 20:14:12 +0000 (10:14 -1000)
commit7c10cb38ccb86a0e56fff32bb348aa4b34e17e10
tree56788d06412a4ffaaf1b42ae6531671415ba6181
parentda91c19202420d61e3316f5a9d4c2d66bfbaff04
accel/tcg: Add debuginfo support

Add libdw-based functions for loading and querying debuginfo. Load
debuginfo from the system and the linux-user loaders.

This is useful for the upcoming perf support, which can then put
human-readable guest symbols instead of raw guest PCs into perfmap and
jitdump files.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230112152013.125680-3-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/debuginfo.c [new file with mode: 0644]
accel/tcg/debuginfo.h [new file with mode: 0644]
accel/tcg/meson.build
hw/core/loader.c
linux-user/elfload.c
linux-user/meson.build
meson.build