[llvm-dev] ThinLTO promotion is ending up with "invalid" IR before IR-Linking
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 3 09:28:45 PST 2017
On Tue, Jan 3, 2017 at 9:21 AM Adrian Prantl <aprantl at apple.com> wrote:
> > On Dec 23, 2016, at 11:33 AM, Mehdi Amini <mehdi.amini at apple.com> wrote:
> > CC a few folks more aware of debug info that I am: is there a plan to
> make llvm.dbg.cu disappear?
> No. The llvm.dbg.cu named MDNode is the one IR node that (via their
> owning DICompileUnits) points to debug info for entities that have been
> optimized away.
I suppose arguably we could end up with a list of those entities, rather
than a list of CUs. That way if all the functions in a CU were optimized
away (& there were no other entities in the CU) the CU would be implicitly
> -- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev