[llvm-commits] [llvm] r120921 - /llvm/trunk/lib/MC/MCAssembler.cpp
David Meyer
pdox at google.com
Sun Dec 5 16:33:44 PST 2010
Hi Rafael,
Running LayoutOnce() to completion does not guarantee that the layout is
finished.
However, I see now why it works. This code at the front of FinishLayout()
will guarantee it is finished:
// The layout is done. Mark every fragment as valid.
Layout.getFragmentOffset(&*Layout.getSectionOrder().back()->rbegin());
Never mind!
- David M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101205/c71c941b/attachment.html>
More information about the llvm-commits
mailing list