[PATCH] lld] handle the case of errors from createLinkerInput

Shankar Kalpathi Easwaran shankarke at gmail.com
Sat Aug 31 23:06:52 PDT 2013


Hi kledzik, Bigcheese,

This changes the interface of createLinkerInput to use ErrorOr, so that errors from the linker can be captured.
    
Also adds a convenience function for error strings to be returned from file nodes.


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

Files:
  include/lld/Driver/CoreInputGraph.h
  include/lld/Driver/DarwinInputGraph.h
  include/lld/Driver/GnuLDInputGraph.h
  include/lld/Driver/InputGraph.h
  include/lld/Driver/WinLinkInputGraph.h
  include/lld/ReaderWriter/ELFLinkingContext.h
  lib/Driver/CoreDriver.cpp
  lib/Driver/DarwinLdDriver.cpp
  lib/Driver/Driver.cpp
  lib/Driver/GnuLdDriver.cpp
  lib/Driver/WinLinkDriver.cpp
  lib/ReaderWriter/ELF/ELFLinkingContext.cpp
  test/elf/librarynotfound.test
  unittests/DriverTests/DriverTest.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1571.1.patch
Type: text/x-patch
Size: 15541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130831/a6e5292d/attachment.bin>


More information about the llvm-commits mailing list