]> git.sesse.net Git - x264/commit
x86inc: Add debug symbols indicating sizes of compiled functions
authorGeza Lore <gezalore@gmail.com>
Mon, 12 Oct 2015 12:13:42 +0000 (13:13 +0100)
committerHenrik Gramner <henrik@gramner.com>
Sat, 16 Jan 2016 23:30:12 +0000 (00:30 +0100)
commit366fa85885053c7b836a4272a4fbec1852103979
treebdb79608d8ec6d1668b4854bd332af2975a9629b
parent70c3ba42e610b4182edda4fdeb10b37a2a70eb8f
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.
common/x86/x86inc.asm
tools/checkasm-a.asm