[PATCH] D131714: [compiler-rt][builtins] Add compiler flags to catch potential errors that can lead to security vulnerabilities

Lei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 23:56:17 PDT 2022


wlei added a comment.

In D131714#3754399 <https://reviews.llvm.org/D131714#3754399>, @ahatanak wrote:

> Fixed in f051c1ded40970169cda84b0966331ae7ad424ed <https://reviews.llvm.org/rGf051c1ded40970169cda84b0966331ae7ad424ed>. It looks like gcc, unlike clang, doesn't allow passing `-Werror=format-security` without passing `-format` too.

Confirmed it's fixed, thanks @ahatanak!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131714



More information about the cfe-commits mailing list