[PATCH, RFC 6/9] gas: dw2gencfi: ignore all .cfi_* directives with --scfi=all
Nick Clifton
nickc@redhat.com
Thu Sep 28 14:10:25 GMT 2023
Hi Indu,
> @@ -806,6 +806,12 @@ dot_cfi (int arg)
> offsetT offset;
> unsigned reg1, reg2;
>
> + if (flag_synth_cfi)
> + {
> + ignore_rest_of_line ();
> + return;
> + }
> +
I am concerned about this behaviour. I understand that mixing
synthetic CFI statements and real ones would be a bad idea, but
I think that silently ignoring the real ones is a mistake. At
the very least you ought to generate a warning message letting
the user know that their cfi instructions are being ignored.
Cheers
Nick
More information about the Binutils
mailing list