This is an archive of the discontinued LLVM Phabricator instance.

Fix debug info in absense of DIFinder
AbandonedPublic

Authored by hiraditya on Apr 21 2018, 6:43 AM.

Details

Summary

w.r.t discussion, the correct fix for debug info in absense of DIFinder

http://lists.llvm.org/pipermail/llvm-dev/2017-June/114390.html

Diff Detail

Event Timeline

hiraditya created this revision.Apr 21 2018, 6:43 AM

Can you add a test?

aprantl added inline comments.Apr 23 2018, 8:59 AM
lib/Transforms/Utils/CloneFunction.cpp
55

Can you add a comment explaining what this does?

My testcase got fixed just with https://reviews.llvm.org/D45926. I'm wondering if this patch is still a good idea.

hiraditya abandoned this revision.May 10 2018, 1:29 PM

Not required.