[Ada] Allow debugging finalization-related expanded code
authorArnaud Charlet <charlet@adacore.com>
Mon, 12 Oct 2020 07:50:53 +0000 (03:50 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:26 +0000 (08:22 -0500)
commitbbf14e1350d3054e02ac9d83b61b84cc23d2c157
tree9c51afc5982fe8e3e6313693473040e49dee166e
parentcf4737dcec18336b735a46d524bd8ef056e3d245
[Ada] Allow debugging finalization-related expanded code

gcc/ada/

* exp_ch7.adb (Build_Finalization_Master, Build_Finalizer,
Build_Object_Declarations, Make_Deep_Array_Body,
Wrap_Transient_Expression): Call Set_Debug_Info_Needed on
temporaries when Debug_Generated_Code is True.
gcc/ada/exp_ch7.adb