[all-commits] [llvm/llvm-project] a0458b: Add -fsanitize-address-param-retval to clang.
kda via All-commits
all-commits at lists.llvm.org
Fri Jan 14 00:41:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0458b531cfc52fc1a93002f125b61842f6b30f7
https://github.com/llvm/llvm-project/commit/a0458b531cfc52fc1a93002f125b61842f6b30f7
Author: Kevin Athey <kda at google.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/SanitizerArgs.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/Driver/SanitizerArgs.cpp
A clang/test/CodeGen/msan-param-retval.c
A clang/test/Driver/fsanitize-memory-param-retval.c
Log Message:
-----------
Add -fsanitize-address-param-retval to clang.
With the introduction of this flag, it is no longer necessary to enable noundef analysis with 4 separate flags.
(-Xclang -enable-noundef-analysis -mllvm -msan-eager-checks=1).
This change only covers the introduction into the compiler.
This is a follow up to: https://reviews.llvm.org/D116855
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D116633
More information about the All-commits
mailing list