[PATCH] D27411: [Assembler] Better error messages for .org directive

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 02:21:53 PST 2016


rengolin added a comment.

One small comment, otherwise, LGTM.



================
Comment at: lib/MC/MCAssembler.cpp:925
+    Layout.getFragmentOffset(&*Section.rbegin());
+    computeFragmentSize(Layout, *Section.rbegin());
   }
----------------
why do you need to compute the fragment size? Is it for the FragmentOffset parameter in the error message?


Repository:
  rL LLVM

https://reviews.llvm.org/D27411





More information about the llvm-commits mailing list