Commit 9513512
committed
[lld][WebAssembly]: Defer __wasm_apply_data_relocs decision to writer phase
At the time of createSyntheticSymbols, it isn't obvious if we
need these relocations.
Note: this has a side effect to stop emitting empty
__wasm_apply_data_relocs. It isn't a problem because the export
is optional in the spec (DynamicLinking.md) and all implementations
I'm aware of implement it that way. (emscripten, toywasm, wasm-tools)1 parent 85f9181 commit 9513512
4 files changed
+19
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | 920 | | |
933 | 921 | | |
934 | 922 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | 594 | | |
599 | 595 | | |
600 | 596 | | |
601 | 597 | | |
602 | 598 | | |
603 | 599 | | |
604 | | - | |
605 | | - | |
| 600 | + | |
| 601 | + | |
606 | 602 | | |
607 | 603 | | |
608 | 604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
1148 | 1150 | | |
1149 | 1151 | | |
1150 | 1152 | | |
| |||
1467 | 1469 | | |
1468 | 1470 | | |
1469 | 1471 | | |
| 1472 | + | |
1470 | 1473 | | |
1471 | 1474 | | |
1472 | 1475 | | |
1473 | 1476 | | |
1474 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1475 | 1482 | | |
1476 | 1483 | | |
1477 | 1484 | | |
1478 | | - | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
1479 | 1495 | | |
1480 | 1496 | | |
1481 | 1497 | | |
| |||
1771 | 1787 | | |
1772 | 1788 | | |
1773 | 1789 | | |
1774 | | - | |
1775 | | - | |
1776 | 1790 | | |
1777 | 1791 | | |
1778 | 1792 | | |
| |||
0 commit comments