[PATCH] D16599: ELF: Define another entry point.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 13:28:25 PST 2016


ruiu created this revision.
ruiu added reviewers: chandlerc, rafael, arseny.kapoulkine, silvas, hfinkel.
ruiu added a subscriber: llvm-commits.

This is a drop-in replacement for the old ELF's lld::elf::link.
It takes the same parameters and does the same thing (link object files.)

Unlike elf2::link, elf2::main is guaranteed to return. Internally,
it uses fork (on Unix) or CreateProcess (on Windows), but that should
be considered as an internal detail in most cases. We may change the
implementation in future.

http://reviews.llvm.org/D16599

Files:
  ELF/Driver.h
  ELF/DriverUtils.cpp
  include/lld/Driver/Driver.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16599.46039.patch
Type: text/x-patch
Size: 4454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160126/951c6cc6/attachment.bin>


More information about the llvm-commits mailing list