[all-commits] [llvm/llvm-project] 05551c: [sanitizer] Correct alignment of x32 __sanitizer_s...

hjl-tools via All-commits all-commits at lists.llvm.org
Wed Apr 26 18:29:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05551c6582693c2b494ed8c30a46ea5969b507b1
      https://github.com/llvm/llvm-project/commit/05551c6582693c2b494ed8c30a46ea5969b507b1
  Author: H.J. Lu <hjl.tools at gmail.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

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

  Log Message:
  -----------
  [sanitizer] Correct alignment of x32 __sanitizer_siginfo

Since alignment of x32 siginfo_t is 8 bytes, not 4 bytes, use u64 in
__sanitizer_siginfo_pad to align x32 __sanitizer_siginfo to 8 bytes.

Fixes https://github.com/llvm/llvm-project/issues/62394

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




More information about the All-commits mailing list