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

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 13:00:35 PDT 2022


ahatanak created this revision.
ahatanak added reviewers: dcoughlin, kubamracek, ravikandhadai, compnerd.
Herald added subscribers: Enna1, mgorny, dberris.
Herald added a project: All.
ahatanak requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

Also, fix a few places that were causing `-Wshadow` and `-Wformat-nonliteral` warnings to be emitted.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131714

Files:
  compiler-rt/cmake/Modules/CompilerRTCompile.cmake
  compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
  compiler-rt/include/profile/InstrProfData.inc
  compiler-rt/lib/builtins/CMakeLists.txt
  compiler-rt/lib/builtins/eprintf.c
  compiler-rt/lib/profile/InstrProfiling.c
  compiler-rt/lib/profile/InstrProfilingWriter.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131714.451954.patch
Type: text/x-patch
Size: 5690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220811/3a9a0bb9/attachment.bin>


More information about the cfe-commits mailing list