On 5/31/21 12:57 PM, Jose E. Marchesi via Gcc-patches wrote:
@@ -28219,7 +28219,7 @@ dwarf2out_source_line (unsigned int line, unsigned int 
column,
    dw_line_info_table *table;
    static var_loc_view lvugid;
- if (debug_info_level < DINFO_LEVEL_TERSE)
+  if (debug_info_level < DINFO_LEVEL_TERSE || !dwarf_debuginfo_p ())

This should have a comment that the current dwarf-based debug formats don't use line info.

Jason

Reply via email to