]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Mitigate issue with tracebacks
authorRonan Desplanques <desplanques@adacore.com>
Thu, 30 Jan 2025 15:02:31 +0000 (16:02 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 5 Jun 2025 08:18:36 +0000 (10:18 +0200)
commitd46138a434b1b372b84dfeef25e8b79679196179
tree006174ca905c13d134cfe878ec35379caa777d33
parent9d7bdc266174b3e477dd51818e095cdf149eb2d1
ada: Mitigate issue with tracebacks

The way we fetch the path to shared objects for traceback generation is
not perfectly precise. This patch adds a sanity check to mitigate the
consequences of incorrect shared object paths. It's motivated by a real
world failure in a GNATSAS test.

gcc/ada/ChangeLog:

* libgnat/s-trasym__dwarf.adb (Init_Module): Add mitigation.
gcc/ada/libgnat/s-trasym__dwarf.adb