Commit c1b2719
Fixed issue where L0 Adapters unused were not calling teardown (#20642)
- L0 Static Loader "requires" teardown to be called before the adapter
library exits otherwise the loader may call into the adapter during
teardown to an invalid address. The "skipping" of L0 adapters failed to
call the L0 teardown api required, which results in sporadic calls to
invalid memory during teardown.
- Added a function such that when an adapter is skipped, then the
adapter calls the Loader teardown given static loader compile.
Signed-off-by: Neil R. Spruit <[email protected]>1 parent 10fdb1e commit c1b2719
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
291 | 299 | | |
292 | 300 | | |
293 | 301 | | |
| |||
525 | 533 | | |
526 | 534 | | |
527 | 535 | | |
| 536 | + | |
528 | 537 | | |
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
532 | 541 | | |
533 | 542 | | |
| 543 | + | |
534 | 544 | | |
535 | 545 | | |
536 | 546 | | |
| |||
0 commit comments