[PATCH] D34345: [LLD][ELF] Extract temporary state used in assignAddresses()

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 05:23:23 PDT 2017


peter.smith updated this revision to Diff 105398.
peter.smith retitled this revision from "[LLD][ELF] Reset any accumulated state before calculating addresses" to "[LLD][ELF] Extract temporary state used in assignAddresses()".
peter.smith edited the summary of this revision.
peter.smith added a comment.

I've updated to follow Rafael's suggestion to extract the state into a separate struct. The diff is mostly a replace Cur<State> with CurAddressState-><State>.


https://reviews.llvm.org/D34345

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/ScriptParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34345.105398.patch
Type: text/x-patch
Size: 8600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/493aab4c/attachment.bin>


More information about the llvm-commits mailing list