[lld] r248389 - [ELF2] - added ignored command line options for compatibility.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 10:54:31 PDT 2015

On Wed, Sep 23, 2015 at 10:34 AM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
>> +def sunassert : Flag<["-"], "assert">,
>> +     HelpText<"Ignored for SunOS Compatibility">;
>> +
> Where did this come from? I don't see it being ignored by gold of bfd ld.
> Cheers,
> Rafael

Yes, I think you're right and (at least) handling of this is
incorrect. To mimic ld we should complain about missing argument and
take appropriate action rather than ignoring. I'll revert this, but I
would like to hear what George has to say first.


"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare

More information about the llvm-commits mailing list