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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to