[Ada] Prevent caching of non-text symbols for symbolic tracebacks
authorOlivier Hainque <hainque@adacore.com>
Tue, 22 May 2018 13:20:13 +0000 (13:20 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 22 May 2018 13:20:13 +0000 (13:20 +0000)
commitb8bbe7398f494f96ab33d9c4ee32c83f220d3543
treec62d585d4584041f173708b358daa5533280570e
parent92ea8dd20e05e6a71170743e7d9a711c9599f1d1
[Ada] Prevent caching of non-text symbols for symbolic tracebacks

We now only have the executable code section boundaries at hand,
so can only infer offsets for symbols within those boundaries.

Symbols outside of this region are non-text symbols, pointless for
traceback symbolization anyway.

2018-05-22  Olivier Hainque  <hainque@adacore.com>

gcc/ada/

* libgnat/s-dwalin.adb (Enable_Cache): Skip symbols outside of the
executable code section boundaries.

From-SVN: r260510
gcc/ada/ChangeLog
gcc/ada/libgnat/s-dwalin.adb