From: Matthias Braun Date: Wed, 15 Aug 2012 17:27:14 +0000 (+0200) Subject: fix dwarf abbrev registration X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=28f0f020f804a0af69f8e31043157588273dc469;p=libfirm fix dwarf abbrev registration apparently abbrev number 0 is not allowed, so we have to start our abbrev numbers at 1 --- diff --git a/ir/be/bedwarf.c b/ir/be/bedwarf.c index 4026f5133..64c182d50 100644 --- a/ir/be/bedwarf.c +++ b/ir/be/bedwarf.c @@ -63,7 +63,7 @@ static int debug_level = LEVEL_NONE; * here */ typedef enum custom_abbrevs { - abbrev_void_subprogram, + abbrev_void_subprogram = 1, abbrev_subprogram, abbrev_formal_parameter, abbrev_unnamed_formal_parameter,