MaskRay added a comment.

In D137753#3935126 <https://reviews.llvm.org/D137753#3935126>, @francii wrote:

> In D137753#3934932 <https://reviews.llvm.org/D137753#3934932>, @MaskRay wrote:
>
>> Please make `-p` accepted for AIX only and don't change the semantics for 
>> other targets in this patch. For FreeBSD and Linux (musl and gnu) we can try 
>> rejecting `-p`. If OpenBSD wants to make `-p` an alias for `-pg`, that's 
>> fine.
>
> We can make `-p` emit a message on Linux while also accepting it as an alias 
> to `-pg`. Do you have a suggestion as to what that message would be?

The current `warning: argument unused during compilation: '-p' 
[-Wunused-command-line-argument]` is good for Linux.
In the future Linux can try removing `-p`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137753

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

Reply via email to