Commit 46e6052
committed
Fix extab splitting with
With `-inline deferred`, functions within a TU may be emitted in reverse order
in `.text`, while extab data remains in source (forward) order. This means
consecutive extabindex entries can reference decreasing extab addresses.
To avoid contradictory ordering constraints (which cause cyclic dependency errors
in link order resolution), we group such reversed entries and assign them a single
TU name, creating one covering split per section type.
Fixes #65
Fixes #120
Fixes #132-inline deferred
1 parent c4de1b4 commit 46e6052
2 files changed
Lines changed: 397 additions & 125 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | | - | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
1010 | 1015 | | |
1011 | 1016 | | |
1012 | | - | |
| 1017 | + | |
1013 | 1018 | | |
1014 | 1019 | | |
1015 | 1020 | | |
| |||
0 commit comments