[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
Thu Jun 10 16:49:12 PDT 2021
kda created this revision.
Herald added subscribers: ormris, dexonsmith, dang, hiraditya.
kda requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
Also:
- add driver test (fsanitize-use-after-return.c)
- add basic IR test (asan-use-after-return.cpp)
- (NFC) cleaned up logic for generating table of __asan_stack_malloc depending on flag.
for issue: https://github.com/google/sanitizers/issues/1394
Repository:
rG LLVM Github Monorepo
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.351303.patch
Type: text/x-patch
Size: 23550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/b4d7002e/attachment.bin>
More information about the llvm-commits
mailing list