Rafael Espíndola via llvm-dev
2016-Mar-21 19:14 UTC
[llvm-dev] Need help with code generation
On 21 March 2016 at 15:10, James Molloy <james at jamesmolloy.co.uk> wrote:> Well sure, it's unlikely, but how many consumers can make that sort of > guarantee? And if a consumer can't guarantee the integrity of the ELF file > they have no choice but not to use LLD, or to fork before using it.Correct. Cheers, Rafael
> CorrectOut of interest, how does LLD itself handle error reporting when invoked from the command line, and how does it avoid segfaulting in that case? Cheers, James On Mon, 21 Mar 2016 at 19:14 Rafael Espíndola <rafael.espindola at gmail.com> wrote:> On 21 March 2016 at 15:10, James Molloy <james at jamesmolloy.co.uk> wrote: > > Well sure, it's unlikely, but how many consumers can make that sort of > > guarantee? And if a consumer can't guarantee the integrity of the ELF > file > > they have no choice but not to use LLD, or to fork before using it. > > Correct. > > Cheers, > Rafael >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160321/8d954ae8/attachment.html>
On Mon, Mar 21, 2016 at 8:16 PM, James Molloy <james at jamesmolloy.co.uk> wrote:> > Correct > > Out of interest, how does LLD itself handle error reporting when invoked > from the command line, and how does it avoid segfaulting in that case? >It generally reports an error and exit, or in rare circumstances it just segfaults.> Cheers, > > James > > On Mon, 21 Mar 2016 at 19:14 Rafael Espíndola <rafael.espindola at gmail.com> > wrote: > >> On 21 March 2016 at 15:10, James Molloy <james at jamesmolloy.co.uk> wrote: >> > Well sure, it's unlikely, but how many consumers can make that sort of >> > guarantee? And if a consumer can't guarantee the integrity of the ELF >> file >> > they have no choice but not to use LLD, or to fork before using it. >> >> Correct. >> >> Cheers, >> Rafael >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160321/08c9d3e8/attachment.html>