diff options
author | Alexey Neyman <stilor@att.net> | 2020-03-14 17:05:36 -0700 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-03-17 21:22:09 -0400 |
commit | 52b3aa8be18938486065f5f2a23553b134a10a81 (patch) | |
tree | 89df55ea35d3950dc8448d4e8edf2e31814854ca /gcc/tree-ssa-loop-im.c | |
parent | 80616e5b7a5caf6f41210c9451a32de2fd64528e (diff) | |
download | gcc-52b3aa8be18938486065f5f2a23553b134a10a81.zip gcc-52b3aa8be18938486065f5f2a23553b134a10a81.tar.gz gcc-52b3aa8be18938486065f5f2a23553b134a10a81.tar.bz2 |
dwarf: Generate DIEs for external variables with -g1 [93751]
-g1 is described in the manual to generate debug info for functions and
external variables. It does that for older debugging formats but not for
DWARF. This change brings DWARF in line with the rest of the debugging
formats and with the manual.
gcc/ChangeLog
2020-03-17 Alexey Neyman <stilor@att.net>
PR debug/93751
* dwarf2out.c (gen_decl_die): Proceed to generating the DIE if
the debug level is terse and the declaration is public. Do not
generate type info.
(dwarf2out_decl): Same.
(add_type_attribute): Return immediately if debug level is
terse.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions