[all-commits] [llvm/llvm-project] 7b4b43: [MSan] Separated PPC32 va_arg helper from PPC64 (#...

k-kashapov via All-commits all-commits at lists.llvm.org
Wed Apr 9 12:36:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b4b43bd15cc66b6d9300db4c444954664cf04af
      https://github.com/llvm/llvm-project/commit/7b4b43bd15cc66b6d9300db4c444954664cf04af
  Author: k-kashapov <52855633+k-kashapov at users.noreply.github.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/PowerPC32/kernel-ppcle.ll
    M llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppc.ll
    M llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppcle.ll

  Log Message:
  -----------
  [MSan] Separated PPC32 va_arg helper from PPC64 (#131827)

With more understanding of PowerPC32 ABI we've rewritten the
`VarArgPowerPC32Helper`.
New implementation fills shadow for both `reg_save_area` and
`overflow_arg_area`.
It does not copy shadow for floating-point arguments, as they are stored
in a separate space.
This implementation does not fully support passing arguments `byVal`.
This will be fixed in future PRs.
Tests were also updated via `llvm/utils/update_test_checks.py`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list