[PATCH] D22683: [ELF] Symbol assignment within input section list

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 02:12:40 PDT 2016


evgeny777 updated this revision to Diff 65480.
evgeny777 added a comment.

Rebased. 
Rui, your getSectionMap() is not very convenient, when you want to deal with multiple types of objects, and for this patch I need both
InputSectionDescription (to update section offset) and SymbolAssignment (to save offset) in the same iteration.
I believe that visitor is more handy here.


https://reviews.llvm.org/D22683

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/Writer.cpp
  test/ELF/linkerscript/linkerscript-provide-in-section.s
  test/ELF/linkerscript/linkerscript-symbols-synthetic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22683.65480.patch
Type: text/x-patch
Size: 12461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/b784dd1d/attachment.bin>


More information about the llvm-commits mailing list