From 28f0f020f804a0af69f8e31043157588273dc469 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 15 Aug 2012 19:27:14 +0200 Subject: [PATCH] fix dwarf abbrev registration apparently abbrev number 0 is not allowed, so we have to start our abbrev numbers at 1 --- ir/be/bedwarf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1