[llvm-bugs] [Bug 49035] New: fsanitize-coverage: Support function attribute no_sanitize("coverage")
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 4 04:47:38 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49035
Bug ID: 49035
Summary: fsanitize-coverage: Support function attribute
no_sanitize("coverage")
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: elver at google.com
CC: dvyukov at google.com, glider at google.com,
htmldeveloper at gmail.com, kcc at google.com,
llvm-bugs at lists.llvm.org, mascasa at google.com,
neeilans at live.com, richard-llvm at metafoo.co.uk,
vitalybuka at google.com
Currently it is not possible to use no_sanitize("coverage") to disable coverage
instrumentation.
This came up in the context of constraints for certain Linux kernel functions:
https://lkml.kernel.org/r/CANpmjNPNa2f=kAF6c199oYVJ0iSyirQRGxeOBLxa9PmakSXRbA@mail.gmail.com
-- The current workaround on x86 is to turn calls to __sanitizer_cov_* into
nops, however, for other architectures no such support is implemented but will
be required eventually.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210204/ac6a1715/attachment.html>
More information about the llvm-bugs
mailing list