[llvm-commits] [llvm] r75665-/llvm/trunk/tools/bugpoint/ToolRunner.cpp

Daniel Dunbar daniel at zuster.org
Wed Jul 15 15:31:27 PDT 2009


On Wed, Jul 15, 2009 at 2:58 PM, Dan Gohman<gohman at apple.com> wrote:
> Picking a special exit status is much simpler than printing
> a value and having bugpoint parse it. And OpenSSH has already
> picked a number for this purpose (255), so we can expect that
> reasonable programs will stay out of trouble.

Negative exit codes (as a signed char) are traditionally sent when a
signal is received, and are the negated signal number. OpenSSH isn't
"choosing" 255, it is returning -SIGHUP (I think).

 - Daniel



More information about the llvm-commits mailing list