diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 19:03:08 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 19:03:08 +0000 |
commit | d8a4712bab63f60990334ccedc93bae9975b3d14 (patch) | |
tree | e34751779ee320cd6f2ac73ef5181869c5f3c499 /gcc/dwarf2out.c | |
parent | f5712181cc5d07cf950746f517a26f2281e5de8c (diff) | |
download | gcc-d8a4712bab63f60990334ccedc93bae9975b3d14.tar.gz |
* dwarf2out.c (lookup_filename): Don't check for "<internal>".
(dwarf2out_source_line): Don't do anything if line==0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65208 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index dbe8fdf7eb0..dcc7d6e3709 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -12451,11 +12451,6 @@ lookup_filename (file_name) size_t i, n; char *save_file_name; - /* ??? Why isn't DECL_SOURCE_FILE left null instead. */ - if (strcmp (file_name, "<internal>") == 0 - || strcmp (file_name, "<built-in>") == 0) - return 0; - /* Check to see if the file name that was searched on the previous call matches this file name. If so, return the index. */ if (file_table_last_lookup_index != 0) @@ -12528,7 +12523,8 @@ dwarf2out_source_line (line, filename) unsigned int line; const char *filename; { - if (debug_info_level >= DINFO_LEVEL_NORMAL) + if (debug_info_level >= DINFO_LEVEL_NORMAL + && line != 0) { function_section (current_function_decl); |