[all-commits] [llvm/llvm-project] eeb6be: Sign-extend addresses in CompactRingBuffer.

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Thu Feb 10 11:59:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eeb6be144f34158b7f9810f535b7b650390a05e3
      https://github.com/llvm/llvm-project/commit/eeb6be144f34158b7f9810f535b7b650390a05e3
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_ring_buffer.h

  Log Message:
  -----------
  Sign-extend addresses in CompactRingBuffer.

Summary:
This is neccessary to support solaris/sparc9 where some userspace
addresses have all top bits set, as well as, potentially, kernel memory
on aarch64.

This change does not update the compiler side (HWASan IR pass) which
needs to be done separately for the affected targets.

Reviewers: ro, vitalybuka

Subscribers: llvm-commits

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




More information about the All-commits mailing list