Fix the bogus source file for "redefined" functions.

This commit is contained in:
Bill Currie 2011-03-22 13:45:44 +09:00
parent 7dbd5f656c
commit 6a49861b49

View file

@ -559,6 +559,7 @@ begin_function (symbol_t *sym, const char *nicename, symtab_t *parent,
}
sym->s.func->code = pr.code->size;
sym->s.func->s_file = pr.source_file;
if (options.code.debug) {
pr_lineno_t *lineno = new_lineno ();
sym->s.func->line_info = lineno - pr.linenos;