SIGN IN SIGN UP

Call OnAbandoned from JLJITLinkMemoryManager::InFlightAlloc::abandon (#61884)

Without this change, if ORC materialization fails with an error, we
instead see an assertion failure because of an unchecked Error rather
than seeing the ORC error. Improve the debugging experience by
"successfully" abandoning the allocation, even though we don't support
deallocating code. #61847 correctly prints the
`UnexpectedSymbolDefinitions` error that is the cause of the problem
after this change.

For example, we get this error message instead of a deadlock:
```
nthreads=32
starting workers
JIT session error: Unexpected definitions in module leaf_62-jitted-178: [ julia_leaf_62_0#0, julia_mid_59_0#0 ]
Internal error: Lookup failed: Failed to materialize symbols: { (JuliaOJIT, { julia_topB_52_0#0, jfptr_topB_52_0#0 }) }
Program aborted due to an unhandled Error:
Failed to materialize symbols: { (JuliaOJIT, { julia_topB_52_0#0, jfptr_topB_52_0#0 }) }
```
S
Sam Schweigel committed
4c1c821f77d2744ae8f69412a80a1c06f9441903
Parent: 8cb3325
Committed by GitHub <noreply@github.com> on 5/26/2026, 4:27:32 PM