Skip to content
Snippets Groups Projects
Commit cc602061 authored by Geza Lore's avatar Geza Lore Committed by Anton Khirnov
Browse files

x86inc: Add debug symbols indicating sizes of compiled functions


Some debuggers/profilers use this metadata to determine which function a
given instruction is in; without it they get can confused by local labels
(if you haven't stripped those). On the other hand, some tools are still
confused even with this metadata. e.g. this fixes `gdb`, but not `perf`.

Currently only implemented for ELF.

Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 002c4779
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment