[PATCH,V4 10/14] gas: synthesize CFI for hand-written asm

Indu Bhagat indu.bhagat@oracle.com
Mon Jan 8 00:46:53 GMT 2024


Hi Jan, Nick,

I am working on addressing the review comments in V4 and will continue 
that review in a separate thread.

Meanwhile...

On 1/5/24 05:58, Jan Beulich wrote:
>> +      dwarf_reg = ginsn_dw2_regnum (temp);
>> +    }
>> +
>> +  gas_assert (dwarf_reg != Dw2Inval); /* Needs to be addressed.  */
> Without actually addressing this (and possible similar cases elsewhere), I
> don't think this can go in as other than experimental code (which the
> NEWS entry then should state, and where there then should be a plan for an
> easy approach of probing gas for no-longer-experimental SCFI support).

... in this specific case, the /* Needs to be addressed.  */ comment is 
somewhat stale and may have lead the impression that this is an 
unhandled case (EIP is the pending unhandled case, I will deal with it 
in V5).

Moving forward, I would like to get consensus on whats the way forward 
for SCFI series, especially whether there is agreement on releasing what 
will be the V5 with binutils 2.42.

My take on "SCFI should go as experimental code" : my priority is to get 
this option to users and to continue development of SCFI incrementally 
with the help/reviews from community.  If the reviewers/maintainers 
think, offering this first as --scfi=experimental, which later is 
established as --scfi=all, in a future release is the best way to move 
forward, I can make the necessary changes now.

But I will appreciate if there is consensus on this plan before I 
undertake those changes and send a V5 aiming for the upcoming 2.42.

Thanks
Indu





More information about the Binutils mailing list