[PATCH] D30507: Remove DefinedSynthetic

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 11:40:09 PST 2017


rafael created this revision.

With this we have a single section hierarchy. It is a bit less code, but the main advantage will be being able to handle

foo = symbol_in_obj;

in a linker script. Currently that fails since we try to find the output section of symbol_in_obj.  With this we should be able to just return an InputSection from the expression.


https://reviews.llvm.org/D30507

Files:
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/MarkLive.cpp
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/SyntheticSections.cpp
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30507.90215.patch
Type: text/x-patch
Size: 39608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170301/742d21d2/attachment-0001.bin>


More information about the llvm-commits mailing list