[Bug sanitizer/93433] New: sanitizer_linux.cc contains non-Linux-specific code
roland.illig at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sat Jan 25 20:41:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93433
Bug ID: 93433
Summary: sanitizer_linux.cc contains non-Linux-specific code
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
The file sanitizer_linux.cc contains these lines:
> // This file is shared between AddressSanitizer and ThreadSanitizer
> // run-time libraries and implements linux-specific functions from
> // sanitizer_libc.h.
> //===----------------------------------------------------------------------===//
>
> #include "sanitizer_platform.h"
>
> #if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD || \
> SANITIZER_OPENBSD || SANITIZER_SOLARIS
These lines are obviously not specific to Linux.
The file should be renamed in order to match its content.
More information about the Gcc-bugs
mailing list