This is an archive of the discontinued LLVM Phabricator instance.

[ArgPromotion] Set debug location at updated callsites
ClosedPublic

Authored by vsk on Apr 1 2019, 10:41 PM.

Details

Summary

Set the correct debug location on instructions which load arguments in
preparation for a call to an arg-promoted function.

This prevents location cascade from misattributing the line/scope of one
of these loads to the location of the instruction preceding the call.

Diff Detail

Repository
rL LLVM

Event Timeline

vsk created this revision.Apr 1 2019, 10:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2019, 10:41 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
davide accepted this revision.Apr 2 2019, 10:23 AM

Thanks.

This revision is now accepted and ready to land.Apr 2 2019, 10:23 AM
This revision was automatically updated to reflect the committed changes.