[PATCH] D137753: [Clang][GNU][AIX][p]Enable -p Functionality
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 15:28:56 PST 2022
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
More information about the cfe-commits
mailing list