fix dwarf abbrev registration
authorMatthias Braun <matthias.braun@kit.edu>
Wed, 15 Aug 2012 17:27:14 +0000 (19:27 +0200)
committerMatthias Braun <matthias.braun@kit.edu>
Wed, 15 Aug 2012 17:27:14 +0000 (19:27 +0200)
apparently abbrev number 0 is not allowed, so we have to start our
abbrev numbers at 1

ir/be/bedwarf.c

index 4026f51..64c182d 100644 (file)
@@ -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,