[PATCH] D104076: [clang-cl][sanitizer] Add -fsanitize-address-use-after-return to clang.
Kevin Athey via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 11 11:06:22 PDT 2021
kda updated this revision to Diff 351505.
kda marked 9 inline comments as done.
kda added a comment.
- fixed up conflicting command line parameters.
- only emit asan_stack_malloc calls when needed.
- trimmed namespace ('llvm').
- improved tests.
- Changed default parameters from Never to Runtime.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104076/new/
https://reviews.llvm.org/D104076
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/Sanitizers.h
clang/include/clang/Driver/Options.td
clang/include/clang/Driver/SanitizerArgs.h
clang/lib/Basic/Sanitizers.cpp
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/SanitizerArgs.cpp
clang/test/CodeGen/asan-use-after-return.cpp
clang/test/Driver/cl-options.c
clang/test/Driver/fsanitize-use-after-return.c
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104076.351505.patch
Type: text/x-patch
Size: 23648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210611/81b54519/attachment.bin>
More information about the llvm-commits
mailing list