yaxunl added a comment.

In D76520#1934341 <https://reviews.llvm.org/D76520#1934341>, @tra wrote:

> Does it handle options with values? E.g. if I want to pass 
> `-mframe-pointer=none` ? I vaguely recall the current -Xarch_* implementation 
> had some limitations. 
>  It may be worth adding a test for that.


-Xarch_ works with driver options having value, e.g. `-fcf-protection=branch`. 
I added a test for that.

`-mframe-pointer=none` is a cc1 option. That's why it cannot be passed by 
-Xarch_. If it is made a driver option it can be passed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76520/new/

https://reviews.llvm.org/D76520



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to