aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2cfi.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-06-29 08:49:26 +0200
committerMartin Liska <mliska@suse.cz>2021-06-29 08:49:26 +0200
commit490d1e1be15b62b51a2de248e6d7f76356402bc9 (patch)
treea140872a97abd647ca0e5287e5375b7514be227b /gcc/dwarf2cfi.c
parentadf0825ae77554b00615521a545b608892bb272c (diff)
parent095a01cf6e3883b3083cf339b680cdb39910f529 (diff)
downloadgcc-490d1e1be15b62b51a2de248e6d7f76356402bc9.zip
gcc-490d1e1be15b62b51a2de248e6d7f76356402bc9.tar.gz
gcc-490d1e1be15b62b51a2de248e6d7f76356402bc9.tar.bz2
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/dwarf2cfi.c')
-rw-r--r--gcc/dwarf2cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c
index c27ac19..df9b625 100644
--- a/gcc/dwarf2cfi.c
+++ b/gcc/dwarf2cfi.c
@@ -3558,7 +3558,7 @@ dwarf2out_do_frame (void)
/* We want to emit correct CFA location expressions or lists, so we
have to return true if we're going to generate debug info, even if
we're not going to output frame or unwind info. */
- if (dwarf_debuginfo_p ())
+ if (dwarf_debuginfo_p () || dwarf_based_debuginfo_p ())
return true;
if (saved_do_cfi_asm > 0)