/ * codegen_debug_info: Write out debugging info. */
| 128 | * codegen_debug_info: Write out debugging info. |
| 129 | */ |
| 130 | void codegen_debug_info(void) |
| 131 | { |
| 132 | list_type l; |
| 133 | |
| 134 | OutputInt(outfile, list_length(debug_lines)); |
| 135 | |
| 136 | for (l = debug_lines; l != NULL; l = l->next) |
| 137 | { |
| 138 | DebugLine *d = (DebugLine *) (l->data); |
| 139 | OutputInt(outfile, d->offset); |
| 140 | OutputInt(outfile, d->lineno); |
| 141 | } |
| 142 | debug_lines = list_destroy(debug_lines); |
| 143 | } |
| 144 | /************************************************************************/ |
| 145 | /* |
| 146 | * codegen_filename: Write out given filename. |
no test coverage detected