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

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 02:52:14 PDT 2016


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

Review updated.
It looks like OutputSectionBase derived classes are ordinary C++ polymorphic types and do not currently support LLVM-style casting.
That's why I used getSection virtual method, instead of cast<> (see assignOffsets in LinkerScript.cpp)


https://reviews.llvm.org/D22683

Files:
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Symbols.cpp
  ELF/Writer.cpp
  test/ELF/linkerscript/linkerscript-symbols-synthetic.s

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


More information about the llvm-commits mailing list