diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2025-04-29 17:15:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 17:15:55 -0700 |
commit | efef83e11d6b5f47c624465006bbea4cbb8a2526 (patch) | |
tree | 931d2f0a675ee762367c30dedfcb376b01edf1d1 /clang/unittests/Format/ConfigParseTest.cpp | |
parent | 36850a028d149467cafd2702bc0c2587f6b71cce (diff) | |
download | llvm-efef83e11d6b5f47c624465006bbea4cbb8a2526.zip llvm-efef83e11d6b5f47c624465006bbea4cbb8a2526.tar.gz llvm-efef83e11d6b5f47c624465006bbea4cbb8a2526.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions