[PATCH] [lld] add InputGraph to process Command line arguments

Shankar Kalpathi Easwaran shankarke at gmail.com
Mon Aug 12 15:04:43 PDT 2013


  This change adds functionality to process arguments into a Graph form.

  This also cleans up a lot of code, to process arguments in a simpler way.

  Passes all the tests and adds an additional test.

  More TODO after committing this change would be :-

  a) Add dumping changes for Gnu LD
  b) Add validation checks for Gnu LD

Hi Bigcheese, kledzik, ruiu,

http://llvm-reviews.chandlerc.com/D1217

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1217?vs=3058&id=3392#toc

Files:
  include/lld/Core/File.h
  include/lld/Core/LinkingContext.h
  include/lld/Driver/CoreInputGraph.h
  include/lld/Driver/DarwinInputGraph.h
  include/lld/Driver/Driver.h
  include/lld/Driver/GnuLDInputGraph.h
  include/lld/Driver/InputGraph.h
  include/lld/Driver/LinkerInput.h
  include/lld/Driver/OptionInfo.h
  include/lld/Driver/WinLinkInputGraph.h
  include/lld/ReaderWriter/ELFLinkingContext.h
  include/lld/ReaderWriter/MachOFormat.hpp
  include/lld/ReaderWriter/PECOFFLinkingContext.h
  lib/Driver/CMakeLists.txt
  lib/Driver/CoreDriver.cpp
  lib/Driver/DarwinLdDriver.cpp
  lib/Driver/Driver.cpp
  lib/Driver/GnuLdDriver.cpp
  lib/Driver/InputGraph.cpp
  lib/Driver/LDOptions.td
  lib/Driver/WinLinkDriver.cpp
  lib/ReaderWriter/ELF/ELFLinkingContext.cpp
  lib/ReaderWriter/MachO/MachOFormat.hpp
  lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  lib/ReaderWriter/MachO/WriterMachO.cpp
  lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
  lib/ReaderWriter/ReaderLinkerScript.cpp
  test/Driver/libsearch-inputGraph.test
  test/elf/X86_64/nmagic.test
  test/elf/X86_64/omagic.test
  test/elf/archive-elf-forceload.objtxt
  unittests/DriverTests/DarwinLdDriverTest.cpp
  unittests/DriverTests/DriverTest.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1217.3.patch
Type: text/x-patch
Size: 140026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130812/10916d76/attachment.bin>


More information about the llvm-commits mailing list