[PATCH] D142046: [BPF][clang] Ignore stack protector options for BPF target

Alexei Starovoitov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 11:54:40 PST 2023


ast added a comment.

In D142046#4066758 <https://reviews.llvm.org/D142046#4066758>, @yonghong-song wrote:

> @ast With this patch, gentoo clang compilation will hit the warning even if people appends -fno-stack-protector. Is this okay? In general, if the option is '-fstack-protector -fno-stack-protector', we should not issue warning, right?

ahh. yeah. -fno-stack-protector should silence the warning.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142046



More information about the cfe-commits mailing list