diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-01-15 14:32:14 +0000 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-01-17 10:12:05 +0100 |
commit | afbebff6cd7be7329bda4500dbfacfc94ff8edba (patch) | |
tree | 3fa540503c2f4e5ccdbc4de224cfb62a0552ceee /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py | |
parent | f06cd8c8c8e2adc5dad66a851bc1df1ecdd1b58e (diff) | |
download | bcm5719-llvm-afbebff6cd7be7329bda4500dbfacfc94ff8edba.tar.gz bcm5719-llvm-afbebff6cd7be7329bda4500dbfacfc94ff8edba.zip |
[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
(cherry picked from commit 441410be471d5d0a5d1d47cf363de155e397a0c2)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions