Commit 6ef4990
committed
Re-apply "[ORC] Track all dependencies on symbols that aren't..." with fixes.
This reapplies 427fb5c, which was reverted in 08c1a6b due to bot
failures.
The fix was to remove an incorrect assertion: In IL_emit, during the initial
worklist loop, an EDU can have all of its dependencies removed without becoming
ready (because it may still have implicit dependencies that will be added back
during the subsequent propagateExtraEmitDeps operation). The EDU will be marked
Ready at the end of IL_emit if its Dependencies set is empty at that point.
Prior to that we can only assert that it's either Emitted or Ready (which is
already covered by other assertions).1 parent 295d6b1 commit 6ef4990
File tree
2 files changed
+73
-7
lines changed- llvm
- lib/ExecutionEngine/Orc
- unittests/ExecutionEngine/Orc
2 files changed
+73
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
938 | 938 | | |
939 | 939 | | |
940 | 940 | | |
941 | | - | |
942 | 941 | | |
943 | 942 | | |
944 | 943 | | |
| |||
1207 | 1206 | | |
1208 | 1207 | | |
1209 | 1208 | | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
| 1209 | + | |
| 1210 | + | |
1213 | 1211 | | |
1214 | 1212 | | |
1215 | 1213 | | |
| |||
2615 | 2613 | | |
2616 | 2614 | | |
2617 | 2615 | | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
2618 | 2622 | | |
2619 | 2623 | | |
2620 | 2624 | | |
| |||
3165 | 3169 | | |
3166 | 3170 | | |
3167 | 3171 | | |
3168 | | - | |
3169 | 3172 | | |
3170 | 3173 | | |
3171 | 3174 | | |
| |||
3317 | 3320 | | |
3318 | 3321 | | |
3319 | 3322 | | |
3320 | | - | |
3321 | | - | |
3322 | 3323 | | |
3323 | 3324 | | |
3324 | 3325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
521 | 586 | | |
522 | 587 | | |
523 | 588 | | |
| |||
0 commit comments