aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-05-13 15:47:35 -0700
committerFangrui Song <i@maskray.me>2024-05-13 15:47:35 -0700
commit943baf327409fdcb01c9d02aa3c3368f2fca114b (patch)
tree3aee6ccda77c679038366fcce9804b343cf01892 /llvm/lib/Bitcode
parent8960078765f141c770f70629a205b3ea88cd9781 (diff)
downloadllvm-943baf327409fdcb01c9d02aa3c3368f2fca114b.zip
llvm-943baf327409fdcb01c9d02aa3c3368f2fca114b.tar.gz
llvm-943baf327409fdcb01c9d02aa3c3368f2fca114b.tar.bz2
[ELF] Make compareByFilePosition a strict weak order
This fixes the new test linkerscript/enable-non-contiguous-regions.test from #90007 in -stdlib=libc++ -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG builds. adjustOutputSections does not discard the output section .potential_a because it contained .a (which would be spilled to .actual_a). .potential_a and .bc have the same address and will cause an assertion failure.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions