[PATCH] [lld][LinkerScript] Add matching of output sections to segments

Denis Protivensky dprotivensky at accesssoftek.com
Fri Jun 12 03:25:20 PDT 2015


Updated:

- return error immediately when encountered
- use SmallVector instead of std::vector for holding matched headers for sections


http://reviews.llvm.org/D10359

Files:
  include/lld/Core/Error.h
  include/lld/ReaderWriter/LinkerScript.h
  lib/Core/Error.cpp
  lib/ReaderWriter/ELF/TargetLayout.cpp
  lib/ReaderWriter/ELF/TargetLayout.h
  lib/ReaderWriter/LinkerScript.cpp
  test/elf/linkerscript/phdrs-default.test
  test/elf/linkerscript/phdrs-invalid.test
  test/elf/linkerscript/phdrs/sections-empty-phdrs.script
  test/elf/linkerscript/phdrs/sections-no-phdrs.script
  test/elf/linkerscript/phdrs/sections-none-phdrs.script
  test/elf/linkerscript/phdrs/undef-empty-phdrs.script
  test/elf/linkerscript/phdrs/undef-id-phdrs.script
  test/elf/linkerscript/phdrs/undef-no-phdrs.script

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10359.27569.patch
Type: text/x-patch
Size: 14649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150612/89ca7730/attachment.bin>


More information about the llvm-commits mailing list