[Ada] Prevent caching of non-text symbols for symbolic tracebacks

Pierre-Marie de Rodat derodat@adacore.com
Tue May 22 13:37:00 GMT 2018


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.

Tested on x86_64-pc-linux-gnu, committed on trunk

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 2423 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180522/0d258af3/attachment.bin>


More information about the Gcc-patches mailing list