[all-commits] [llvm/llvm-project] e8ad87: [Asan] Provide TTI hook to provide memory referenc...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Wed Aug 7 22:40:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8ad87c7d06afe8f5dde2e4c7f13c314cb3a99e9
      https://github.com/llvm/llvm-project/commit/e8ad87c7d06afe8f5dde2e4c7f13c314cb3a99e9
  Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    A llvm/include/llvm/Analysis/MemoryRefInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    A llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll

  Log Message:
  -----------
  [Asan] Provide TTI hook to provide memory reference infromation of target intrinsics. (#97070)

Previously asan considers target intrinsics as black boxes, so asan
could not instrument accurate check. This patch provide TTI hooks to
make targets describe their intrinsic informations to asan.

Note,
1. this patch renames InterestingMemoryOperand to MemoryRefInfo.
2. this patch does not support RVV indexed/segment load/store.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list