[all-commits] [llvm/llvm-project] ba13e1: [hwasan] support hwasan-match-all-tag flag for hwa...

Enna1 via All-commits all-commits at lists.llvm.org
Fri May 26 19:36:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba13e1b4381e87f80837f8215309af56a0da2c9c
      https://github.com/llvm/llvm-project/commit/ba13e1b4381e87f80837f8215309af56a0da2c9c
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2023-05-27 (Sat, 27 May 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_interface_internal.h
    M compiler-rt/lib/hwasan/hwasan_memintrinsics.cpp
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll

  Log Message:
  -----------
  [hwasan] support hwasan-match-all-tag flag for hwasan meminstrinsic calls

This patch implements `__hwasan_memset_match_all`, `__hwasan_memcpy_match_all` and `__hwasan_memmove_match_all`, making hwasan-match-all-tag flag working for hwasan versions of memset, memcpy and memmove.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list