[all-commits] [llvm/llvm-project] efef83: [lld][InstrProf] Skip BP ordering input sections w...
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Tue Apr 29 17:16:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: efef83e11d6b5f47c624465006bbea4cbb8a2526
https://github.com/llvm/llvm-project/commit/efef83e11d6b5f47c624465006bbea4cbb8a2526
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lld/MachO/BPSectionOrderer.cpp
M lld/test/MachO/bp-section-orderer.s
Log Message:
-----------
[lld][InstrProf] Skip BP ordering input sections with null data (#137906)
In MachO, `.bss` `isec`s have a length, but point to null. This causes
Balanced Partitioning to crash on these inputs.
This code was in the original implementation, but was removed in
https://github.com/llvm/llvm-project/pull/124482/files#diff-b2aac8833d29d297ae5ada1b36eb4e88f53691fd91df954c24e0c264f3131d4aL27
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