[all-commits] [llvm/llvm-project] 9f51f1: [ASAN][AMDGPU] Add support for accesses to global ...

Reshabh Sharma via All-commits all-commits at lists.llvm.org
Sun May 2 20:36:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f51f1b927b15dae4f4226c379c7abd13cd5de2f
      https://github.com/llvm/llvm-project/commit/9f51f1b927b15dae4f4226c379c7abd13cd5de2f
  Author: Reshabh Sharma <Reshabhkumar.Sharma at amd.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/adaptive_constant_global_redzones.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/adaptive_global_redzones.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_do_not_instrument_lds.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_do_not_instrument_scratch.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_instrument_constant_address_space.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_instrument_generic_address_space.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_instrument_global_address_space.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/global_metadata_addrspacecasts.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/instrument-stack.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/no_redzones_in_lds_globals.ll
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/no_redzones_in_scratch_globals.ll

  Log Message:
  -----------
  [ASAN][AMDGPU] Add support for accesses to global and constant addrspaces

Add address sanitizer instrumentation support for accesses to global
and constant address spaces in AMDGPU. It strictly avoids instrumenting
the stack and assumes x86 as the host.

Reviewed by: vitalybuka

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




More information about the All-commits mailing list