[Ada] Small optimization to DWARF 5 mode in System.Dwarf_Line
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 6 Jul 2021 14:47:31 +0000 (16:47 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 21 Sep 2021 15:24:59 +0000 (15:24 +0000)
commit97a5ed2071fffe85ee1a07e0655740162e4cce64
treeb2a939596ff0c398f454b2acdfed436fbd1ee232
parent97c5d522c6ee36b7ed1824d1eb6b8f30172c1818
[Ada] Small optimization to DWARF 5 mode in System.Dwarf_Line

gcc/ada/

* libgnat/s-dwalin.adb (To_File_Name): Fetch only the last string
from the .debug_line_str section.
(Symbolic_Address.Set_Result): Likewise.
gcc/ada/libgnat/s-dwalin.adb