[llvm-bugs] [Bug 44665] New: sanitizer_linux.cc contains non-Linux-specific code

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 25 15:17:36 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44665

            Bug ID: 44665
           Summary: sanitizer_linux.cc contains non-Linux-specific code
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: roland.illig at gmx.de
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

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.

-- 
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/20200125/c897944d/attachment.html>


More information about the llvm-bugs mailing list