[all-commits] [llvm/llvm-project] 9eeb2c: [msan] Check for AVX regs using offset

Petr Hosek via All-commits all-commits at lists.llvm.org
Wed Jan 5 19:25:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eeb2c98f4528856c63618e3ef94529fa6f4ff11
      https://github.com/llvm/llvm-project/commit/9eeb2c98f4528856c63618e3ef94529fa6f4ff11
  Author: Petr Hosek <phosek at google.com>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
    M compiler-rt/test/msan/Linux/signal_mcontext.cpp
    M compiler-rt/test/msan/Linux/signal_mcontext2.cpp

  Log Message:
  -----------
  [msan] Check for AVX regs using offset

glibc versions < 2.26 use different names for the fields.
However the layout is unchanged, so using the offset should be a
portable way to address this issue across platforms.

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

Patch By: paulkirth

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




More information about the All-commits mailing list