[llvm-bugs] [Bug 31352] New:=?UTF-8?Q?=20The=20sanitizers=20=E2=80=9Caddress=E2=80=9D?=, =?UTF-8?Q?=20=E2=80=9Cmemory=E2=80=9D=20and=20=E2=80=9Cthread=E2=80=9D=20are=20mutually=20exclusive?=, but why?

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 11 17:50:09 PST 2016


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

            Bug ID: 31352
           Summary: The sanitizers “address”, “memory” and “thread” are
                    mutually exclusive, but why?
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xiangzhai83 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Hi clang developers,

When using sanitizer, it is clear that sanitizers “address”, “memory” and
“thread” are mutually exclusive, because:

clang-3.9: error: invalid argument '-fsanitize=address' not allowed with 
  '-fsanitize=thread'
clang-3.9: error: invalid argument '-fsanitize=thread' not allowed with
  '-fsanitize=memory'
clang-3.9: error: invalid argument '-fsanitize=leak' not allowed with
  '-fsanitize=thread'

Please give me some advice internal of clang, thanks a lot!

Regards,
Leslie Zhai

-- 
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/20161212/15be0141/attachment.html>


More information about the llvm-bugs mailing list