[llvm] r312752 - llvm-ar: exit with 1 if there is an error.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 15:46:47 PDT 2017


Rui Ueyama <ruiu at google.com> writes:

> I wonder why PrintHelpMessage had to call `exit(0)`. Do you think you can
> just remove that and call `exit` explicitly on caller side?
>

It looks like an implementation detail. It uses the existing logic for
handling -help.

I will check if I can flip this inside out.

Cheers,
Rafael


More information about the llvm-commits mailing list