[all-commits] [llvm/llvm-project] 2f6e3d: BPSectionOrderer: stabilize iteration order and no...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Feb 3 10:38:35 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f6e3df08a8b7cd29273980e47310cf09c6fdbd8
      https://github.com/llvm/llvm-project/commit/2f6e3df08a8b7cd29273980e47310cf09c6fdbd8
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M lld/MachO/BPSectionOrderer.cpp
    M lld/include/lld/Common/BPSectionOrdererBase.inc
    M llvm/lib/Support/BalancedPartitioning.cpp

  Log Message:
  -----------
  BPSectionOrderer: stabilize iteration order and node order

Exposed by the test added in the reverted #120514

* Fix libstdc++/libc++ differences due to nth_element. https://github.com/llvm/llvm-project/pull/125450#issuecomment-2631404178
* Fix LLVM_ENABLE_REVERSE_ITERATION=1 differences
* Fix potential issue in `currentSize += D::getSize(*sections[*sectionIdxs.begin()])` where DenseSet was used, though not covered by a test



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