[PATCH] D77446: Add MIR-level debugify with only locations support for now

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 19:16:14 PDT 2020


dsanders added a comment.

In D77446#2043308 <https://reviews.llvm.org/D77446#2043308>, @djtodoro wrote:

> In D77446#2031004 <https://reviews.llvm.org/D77446#2031004>, @djtodoro wrote:
>
> > Thanks for this work! I've missed this, since it was not marked as 'debug-info' project.
> >
> > I think we should document this at https://llvm.org/docs/SourceLevelDebugging.html#testing-debug-info-preservation-in-optimizations.
>
>
> The D80052 <https://reviews.llvm.org/D80052> will address this comment.


Good point. There's also the LostDebugLocObserver for detecting location loss during backend passes which I've mentioned on that review. If Vedant adds a section for it I can fill in some detail on how to use it afterwards.

Thanks


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77446/new/

https://reviews.llvm.org/D77446





More information about the llvm-commits mailing list