[llvm-commits] [llvm] r120921 - /llvm/trunk/lib/MC/MCAssembler.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Dec 5 16:17:59 PST 2010


On 5 December 2010 18:41, David Meyer <pdox at google.com> wrote:
> Hi Rafael,
> How do you know the layout is finished here?

FinishLayout in only called once:

--------------------------------
  // Layout until everything fits.
  while (LayoutOnce(*Writer, Layout))
    continue;

  DEBUG_WITH_TYPE("mc-dump", {
      llvm::errs() << "assembler backend - post-relaxation\n--\n";
      dump(); });

  // Finalize the layout, including fragment lowering.
  FinishLayout(Layout);

-------------------------------

> - David Meyer


Cheers,
Rafael



More information about the llvm-commits mailing list