Skip to content
Snippets Groups Projects
  • Kostya Serebryany's avatar
    85aee96c
    Unify clang/llvm attributes for asan/tsan/msan (Clang part) · 85aee96c
    Kostya Serebryany authored
    These are two related changes (one in llvm, one in clang).
    LLVM: 
    - rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode)
    - rename thread_safety => sanitize_thread
    - rename no_uninitialized_checks -> sanitize_memory
    
    CLANG: 
    - add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis))
    - add __attribute__((no_sanitize_thread))
    - add __attribute__((no_sanitize_memory))
    
    for S in address thread memory
    If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not
    set llvm attribute sanitize_S
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176076 91177308-0d34-0410-b5e6-96231b3b80d8
    85aee96c
    History
    Unify clang/llvm attributes for asan/tsan/msan (Clang part)
    Kostya Serebryany authored
    These are two related changes (one in llvm, one in clang).
    LLVM: 
    - rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode)
    - rename thread_safety => sanitize_thread
    - rename no_uninitialized_checks -> sanitize_memory
    
    CLANG: 
    - add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis))
    - add __attribute__((no_sanitize_thread))
    - add __attribute__((no_sanitize_memory))
    
    for S in address thread memory
    If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not
    set llvm attribute sanitize_S
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176076 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.