[all-commits] [llvm/llvm-project] 8e4e1c: MIPS: Stable sort relocations

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jul 21 23:05:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e4e1c104d88e193d5977e0136509f8c76dde43e
      https://github.com/llvm/llvm-project/commit/8e4e1c104d88e193d5977e0136509f8c76dde43e
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp

  Log Message:
  -----------
  MIPS: Stable sort relocations

There might be more than one relocations at an offset with composed
relocations or .reloc directive. llvm::sort output is unstable, and if
EXPENSIVE_CHECKS, also undeterministic, causing
MC/Mips/reloc-directive.s to fail.



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