[PATCH] D125094: [ARM][Thumb] Command-line option to ensure AAPCS compliant Frame Records
Lucas Prates via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 23 05:35:17 PDT 2022
pratlucas updated this revision to Diff 439356.
pratlucas added a comment.
Fixing use-after-poison issue detected by ASAN buildbot.
When popping LR on thumb it's value is popped into PC and used as a return.
The original return instruction gets erased, invalidating the MachineInstr
iterator. This change makes sure we don't try to access the iterator in these
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 87911 bytes
Desc: not available
More information about the cfe-commits