[PATCH] D45589: [DWARF] Defer emitting type units until the compile units are done.
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 15:20:08 PDT 2018
dblaikie added a subscriber: gramanas.
dblaikie added a comment.
But I don't think we start emitting the CU as we are going, right? I
thought it was handled much like the TUs would be by this patch - built...
And then emitted once it was fully built. (Indeed because new attributes
can be added to DIEs, forward references to future DIEs can exist, etc - we
currently have no support for streaming dwarf emission - the entire DIE
tree is built in memory, then emitted)
So I would've expected we could produce a bunch of TUs and emit them while
we are building the CU DIE trees, then emit the CUs.
What specifically has been breaking that you're seeing?
Repository:
rL LLVM
https://reviews.llvm.org/D45589
More information about the llvm-commits
mailing list