| OLD | NEW |
| 1 /* $Id$ | 1 /* |
| 2 * DWARF2 debugging format | 2 * DWARF2 debugging format |
| 3 * | 3 * |
| 4 * Copyright (C) 2006-2007 Peter Johnson | 4 * Copyright (C) 2006-2007 Peter Johnson |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| 11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 /* .loc directive data */ | 59 /* .loc directive data */ |
| 60 typedef struct dwarf2_loc { | 60 typedef struct dwarf2_loc { |
| 61 /*@reldef@*/ STAILQ_ENTRY(dwarf2_loc) link; | 61 /*@reldef@*/ STAILQ_ENTRY(dwarf2_loc) link; |
| 62 | 62 |
| 63 unsigned long vline; /* virtual line number of .loc directive */ | 63 unsigned long vline; /* virtual line number of .loc directive */ |
| 64 | 64 |
| 65 /* source information */ | 65 /* source information */ |
| 66 unsigned long file; /* index into table of filenames */ | 66 unsigned long file; /* index into table of filenames */ |
| 67 unsigned long line; /* source line number */ | 67 unsigned long line; /* source line number */ |
| 68 unsigned long column; /* source column */ | 68 unsigned long column; /* source column */ |
| 69 unsigned long discriminator; |
| 69 int isa_change; | 70 int isa_change; |
| 70 unsigned long isa; | 71 unsigned long isa; |
| 71 enum { | 72 enum { |
| 72 IS_STMT_NOCHANGE = 0, | 73 IS_STMT_NOCHANGE = 0, |
| 73 IS_STMT_SET, | 74 IS_STMT_SET, |
| 74 IS_STMT_CLEAR | 75 IS_STMT_CLEAR |
| 75 } is_stmt; | 76 } is_stmt; |
| 76 int basic_block; | 77 int basic_block; |
| 77 int prologue_end; | 78 int prologue_end; |
| 78 int epilogue_begin; | 79 int epilogue_begin; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 /* Name lookup table functions */ | 122 /* Name lookup table functions */ |
| 122 yasm_section *yasm_dwarf2__generate_pubnames(yasm_object *object, | 123 yasm_section *yasm_dwarf2__generate_pubnames(yasm_object *object, |
| 123 yasm_section *debug_info); | 124 yasm_section *debug_info); |
| 124 | 125 |
| 125 /* Information functions */ | 126 /* Information functions */ |
| 126 yasm_section *yasm_dwarf2__generate_info | 127 yasm_section *yasm_dwarf2__generate_info |
| 127 (yasm_object *object, yasm_section *debug_line, | 128 (yasm_object *object, yasm_section *debug_line, |
| 128 /*@null@*/ yasm_section *main_code); | 129 /*@null@*/ yasm_section *main_code); |
| 129 | 130 |
| 130 #endif | 131 #endif |
| OLD | NEW |