yurydelendik opened PR #1373 from fde_multi_ret
to master
:
Fixes #1372 (discussion there)
The patch properly arranges frame layout info commands for restore and preserve state. Also, it properly serializes them in into FDE.
yurydelendik requested iximeow for a review on PR #1373.
yurydelendik updated PR #1373 from fde_multi_ret
to master
:
Fixes #1372 (discussion there)
The patch properly arranges frame layout info commands for restore and preserve state. Also, it properly serializes them in into FDE.
yurydelendik updated PR #1373 from fde_multi_ret
to master
:
Fixes #1372 (discussion there)
The patch properly arranges frame layout info commands for restore and preserve state. Also, it properly serializes them in into FDE.
iximeow submitted PR Review.
iximeow submitted PR Review.
iximeow created PR Review Comment:
move
isn't needed on this closure.
iximeow created PR Review Comment:
Was there an error in inserting
Preserve
/Restore
outsideinsert_common_epilogue
, or is this just a refactor to keep everything ininsert_common_epilogue
? Regardless, I don't have a great feel forLayout
's API, andlast_ebb
is much better than the above "is there an instruction in the next basic block" that was there before.
iximeow created PR Review Comment:
I have a loose preference for making the right vec in the first place rather than conditionally removing an element especially since
is_last
is an argument now. But, lacking a benchmark I'm not sure if it really matters in release builds.
iximeow created PR Review Comment:
I think it's worth noting that it's correct to not see additional CFA directives after
restore_state
here, because the function exit past this point is a trap. I mention here for two reasons:
- double-checking my own understanding :)
- I think it'd be good to have a comment about this, for someone reading these tests in the future.
yurydelendik updated PR #1373 from fde_multi_ret
to master
:
Fixes #1372 (discussion there)
The patch properly arranges frame layout info commands for restore and preserve state. Also, it properly serializes them in into FDE.
yurydelendik created PR Review Comment:
There was an error in previous logic: it was inserting
Preserve
after theCallFrameAddressAt
, which made useless. The same issue was withRestore
-- it was inserted too late.
yurydelendik submitted PR Review.
yurydelendik edited PR Review Comment.
yurydelendik requested iximeow for a review on PR #1373.
iximeow submitted PR Review.
iximeow created PR Review Comment:
oh! yes, I see the errors now.
iximeow submitted PR Review.
iximeow merged PR #1373.
Last updated: Nov 22 2024 at 16:03 UTC