[all-commits] [llvm/llvm-project] dd145f: [asan] Add support for disable_sanitizer_instrumen...

Alexander Potapenko via All-commits all-commits at lists.llvm.org
Tue Feb 15 05:06:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd145f953db3dafbc019f1d3783bb4f09a28af92
      https://github.com/llvm/llvm-project/commit/dd145f953db3dafbc019f1d3783bb4f09a28af92
  Author: Alexander Potapenko <glider at google.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M clang/docs/AddressSanitizer.rst
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/SanitizerMetadata.cpp
    M clang/test/CodeGen/address-safety-attr-flavors.cpp
    M clang/test/CodeGen/asan-globals.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    A llvm/test/Instrumentation/AddressSanitizer/asan-disable-sanitizer-instrumentation.ll

  Log Message:
  -----------
  [asan] Add support for disable_sanitizer_instrumentation attribute

For ASan this will effectively serve as a synonym for
__attribute__((no_sanitize("address")))

This is a reland of https://reviews.llvm.org/D114421

Reviewed By: melver, eugenis

Differential Revision: https://reviews.llvm.org/D119726




More information about the All-commits mailing list