[Ada] Small enhancement in XEinfo utility
Pierre-Marie de Rodat
derodat@adacore.com
Tue Jun 9 08:10:07 GMT 2020
This extends the set of return expressions that can be read by the
XEinfo utility in order to generate the C header file einfo.h and
updates the spec accordingly.
No functional changes.
Tested on x86_64-pc-linux-gnu, committed on trunk
2020-06-09 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* einfo.ads (XEINFO section): Update format description.
(Is_Subprogram_Or_Entry): Move pragma to regular section.
(Is_Subprogram_Or_Generic_Subprogram): Likewise.
* xeinfo.adb (Get_B4): Rename to...
(Get_B0): ...this.
(Translate_Expr): New procedure extracted from...
(XEinfo): ...here. Try to apply Get_B0 first and then
call Translate_Expr to translate supported constructs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 4470 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200609/3fbc9f75/attachment-0001.bin>
More information about the Gcc-patches
mailing list