[PATCH] D130888: [Clang] Introduce -fexperimental-sanitize-metadata=
Marco Elver via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 1 02:01:02 PDT 2022
melver created this revision.
Herald added a subscriber: ormris.
Herald added a project: All.
melver requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
Introduces the frontend flag -fexperimental-sanitize-metadata=, which
enables SanitizerBinaryMetadata instrumentation.
The first intended user of the binary metadata emitted will be a variant
of GWP-TSan [1]. The plan is to open source a stable and production
quality version of GWP-TSan. The development of which, however, requires
upstream compiler support.
[1] https://llvm.org/devmtg/2020-09/slides/Morehouse-GWP-Tsan.pdf
Until the tool has been open sourced, we mark this kind of
instrumentation as "experimental", and reserve the option to change
binary format, remove features, and similar.
Depends on D130887 <https://reviews.llvm.org/D130887>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130888
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Options.td
clang/include/clang/Driver/SanitizerArgs.h
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/SanitizerArgs.cpp
clang/test/Driver/fsanitize-metadata.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130888.448957.patch
Type: text/x-patch
Size: 10877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220801/0cadcdb5/attachment-0001.bin>
More information about the cfe-commits
mailing list