[all-commits] [llvm/llvm-project] b707d5: [compiler-rt][Mips] Properly guard references to _...

Jens Reidel via All-commits all-commits at lists.llvm.org
Mon Jan 27 13:50:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b707d52fc557d24c4269987a80dc270e7adad942
      https://github.com/llvm/llvm-project/commit/b707d52fc557d24c4269987a80dc270e7adad942
  Author: Jens Reidel <adrian at travitia.xyz>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M compiler-rt/lib/safestack/safestack_platform.h
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h

  Log Message:
  -----------
  [compiler-rt][Mips] Properly guard references to _ABIN32 (#124492)

When targeting ABIO32 (mips32), _ABIN32 is undefined and the
preprocessor directives cause compile errors. Guard references to
_ABIN32 with defined(_ABIN32), just like the references to _ABIO32.

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