[llvm-bugs] [Bug 41310] New: Set preprocessor flag for Undefined Behavior Sanitizer
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 29 10:44:19 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41310
Bug ID: 41310
Summary: Set preprocessor flag for Undefined Behavior Sanitizer
Product: compiler-rt
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: ubsan
Assignee: unassignedbugs at nondot.org
Reporter: eugene.zelenko at gmail.com
CC: llvm-bugs at lists.llvm.org
Currently Address Sanitizer sets __SANITIZE_ADDRESS__ preprocessor flag. I
think will be good idea to do this for other sanitizers for consistency,
particularly for Undefined Behavior Sanitizer.
Background: I got -Wdisabled-optimization warnings when compiled my project
with Undefined Behavior Sanitizer with GCC 5.4. I'd like to suppress warnings
in individual file with #pragma only for Undefined Behavior Sanitizer
instrumentation.
--
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/20190329/f457b7d7/attachment.html>
More information about the llvm-bugs
mailing list