aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2023-07-27 14:58:32 -0700
committerLang Hames <lhames@gmail.com>2023-07-27 16:37:02 -0700
commitb3c0055c172be9ed4115cf894306a2016c8857bd (patch)
tree73ab5273bbeb2f2a6acaf500f86338b506d8017f /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent9cf675923afa73a3dbe575803ebbbe9146701df8 (diff)
downloadllvm-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