diff options
author | Lang Hames <lhames@gmail.com> | 2023-07-27 14:58:32 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2023-07-27 16:37:02 -0700 |
commit | b3c0055c172be9ed4115cf894306a2016c8857bd (patch) | |
tree | 73ab5273bbeb2f2a6acaf500f86338b506d8017f /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 9cf675923afa73a3dbe575803ebbbe9146701df8 (diff) | |
download | llvm-b3c0055c172be9ed4115cf894306a2016c8857bd.zip llvm-b3c0055c172be9ed4115cf894306a2016c8857bd.tar.gz llvm-b3c0055c172be9ed4115cf894306a2016c8857bd.tar.bz2 |
[JITLink] Don't try to abandon non-existent allocations.
If JITLinkGeneric::linkPhase2 receives an Error rather than an InFlightAlloc
then we need to call JITLinkContext::notifyFailed, rather than calling
abandonAllocAndBailOut -- the latter asserts that there is an allocation to
abandon, and this was turning allocation errors into assertion failures in
debug mode.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions