[PATCH] D71593: [DebugInfo] Call site entries cannot be generated for FrameSetup calls
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 3 13:05:46 PST 2020
vsk added a comment.
In D71593#1851876 <https://reviews.llvm.org/D71593#1851876>, @probinson wrote:
> It's hard for me to imagine a case where a frame-setup prologue requires a call that really wants debug info.
+ 1, I think what this patch is trying to do makes sense.
> For the save/restore example in D62686, the calls are to system/library helpers to support a size optimization, and as such seem like an implementation detail (along the lines of, say, implementing integer divide as a lib call when you don't have a hardware instruction). So, skipping FrameSetup instructions seems like the right tactic, although the justification in the comment isn't really the right reason.
>
>
> I can see that a test here could depend on save/restore landing first, but I don't see them as co-dependent. The other one introduces the calls that become an issue for debug info, this one fixes the debug-info issue.
Yeah, unless the issue is that the MIR parser won't accept `frame-setup <call instruction>` right now, but it might be possible to split that part out of the save/restore patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71593/new/
https://reviews.llvm.org/D71593
More information about the llvm-commits
mailing list