]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: include enumeration types inside functions
authorNick Alcock <nick.alcock@oracle.com>
Mon, 6 Aug 2012 18:06:38 +0000 (19:06 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:29 +0000 (22:40 +0100)
commitf7d3cae073b2ac4f4ad1978fae92ab91cf533d4e
treea8854629187db545948d6bb587302dd174fe68b4
parent88a948fb33e613462b09a1047ab5adb87311ca02
ctf: include enumeration types inside functions

Like structures and unions, enumerations are a named type in their own
namespace: like structures and unions, arrays and other types based on such
types are represented by a DWARF DIE outside all functions. So the duplicate
detector must treat them like structures and unions, and include them even
if they are inside functions.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
scripts/dwarf2ctf/dwarf2ctf.c