aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-01-15 14:32:14 +0000
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-01-15 14:32:25 +0000
commit441410be471d5d0a5d1d47cf363de155e397a0c2 (patch)
tree3b41232ec13fc53ddfb9880c75ba3ef5ca0ae8dd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent4d14bfaa2cb1610104db6b0818fc7d74fad1bd8f (diff)
downloadllvm-441410be471d5d0a5d1d47cf363de155e397a0c2.zip
llvm-441410be471d5d0a5d1d47cf363de155e397a0c2.tar.gz
llvm-441410be471d5d0a5d1d47cf363de155e397a0c2.tar.bz2
[ELF] Avoid false-positive assert in getErrPlace()
This assertion was added as part of D70659 but did not account for .bss input sections. I noticed that this assert was incorrectly triggering while building FreeBSD for MIPS64. Fixed by relaxing the assert to also account for SHT_NOBITS input sections and adjust the test mips-jalr-non-function.s to link a file with a .bss section first. Reviewed By: MaskRay, grimar Differential Revision: https://reviews.llvm.org/D72567
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions