[all-commits] [llvm/llvm-project] 9de144: [HWASAN] Remove GetRequestedSize check from Metada...

kstoimenov via All-commits all-commits at lists.llvm.org
Tue Feb 7 07:52:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9de144eee5307363d7b4f1c8c1837c28223aead0
      https://github.com/llvm/llvm-project/commit/9de144eee5307363d7b4f1c8c1837c28223aead0
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_allocator.cpp

  Log Message:
  -----------
  [HWASAN] Remove GetRequestedSize check from Metadata::IsAllocated

After D143438 there is no point in this check as the size will never 0. Also this keeps it consistent with ASAN where there is not size check in LsanMetadata::allocated.

Reviewed By: MaskRay, vitalybuka

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




More information about the All-commits mailing list