[all-commits] [llvm/llvm-project] c9f1d2: [compiler-rt][Mips] Fix mips SP register definitio...

Jens Reidel via All-commits all-commits at lists.llvm.org
Mon Feb 10 19:28:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9f1d2cbf18990311ea1287cc154e3784a10a3b0
      https://github.com/llvm/llvm-project/commit/c9f1d2cbf18990311ea1287cc154e3784a10a3b0
  Author: Jens Reidel <adrian at travitia.xyz>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp

  Log Message:
  -----------
  [compiler-rt][Mips] Fix mips SP register definition (#124493)

The mainline Linux kernel defines EF_R29, not EF_REG29 [1]. Further, the
asm/reg.h header requires `_MIPS_SIM_*` to be defined, which reside in
asm/sgidefs.h [2].

[1]:
https://github.com/torvalds/linux/blob/v6.13/arch/mips/include/uapi/asm/reg.h#L151
[2]:
https://github.com/torvalds/linux/blob/v6.13/arch/mips/include/uapi/asm/sgidefs.h#L33-L35

---------

Signed-off-by: Jens Reidel <adrian at travitia.xyz>



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