Am 02.03.22 um 18:41 schrieb Basil Hussain:
I have included the XML file below. I would appreciate some feedback on whether there are any options I have missed, or whether any are defunct and should not be included.
         <Option name="Generate extra profiling information"
                 option="--profile"/>

Not all ports support this. Some ports just lost support in 4.2.0.


         <Option name="Callee will always save registers used"
                 option="--all-callee-saves"/>

Not sure which ports actually support this.

         <Option name="Never use a frame pointer"
                 option="--fomit-frame-pointer"
                 supersedes="--fno-omit-frame-pointer"/>
         <Option name="Always use a frame pointer"
                 option="--fno-omit-frame-pointer"
                 supersedes="--fomit-frame-pointer"
                 checkAgainst="-mpdk13 -mpdk14 -mpdk15"
                checkMessage="Padauk backends do not support a frame pointer; --fno-omit-frame-pointer will be ignored."/>

I suspect that there are more ports than just pdk where these options do not work.

        <Option name="Insert call to function __stack_probe at each function prologue"
                 option="--stack-probe"/>

Not sure if this works for all ports.

Thanks for looking into this. Having better IDE integration is surely useful to many of our users.

Philipp



_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to