llvm-project
efef83e1 - [lld][InstrProf] Skip BP ordering input sections with null data (#137906)

Commit
1 year ago
[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
Author
Parents
Loading