Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for -fsanitize=thread in GCC 7.3.0 #1083

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Mar 26, 2019

  1. Add support for -fsanitize=thread in GCC 7.3.0

    When compiling using -fsanitize=thread in GCC 7.3.0, a compilation
    error occurs because GCC 7.3.0 does not support the "no_sanitize"
    attribute. The current usages of the "no_sanitize" attribute when
    compiling with -fsanitize=thread are "undefined" and
    "nonnull-attribute". These can be replaced with the
    "no_sanitize_undefined" and "nonnull" attributes respectively.
    
    Do some feature checking to see if the appropriate attributes are
    supported, and use them, or an alternative, if they are.
    BenHuddleston committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    da2dd53 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. Search for attributes with __has_attribute instead of

    __has_cpp_attribute.
    
    Provide explicit error messages if required attributes were not
    found.
    BenHuddleston committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    178517b View commit details
    Browse the repository at this point in the history