diff options
author | smh <smh@FreeBSD.org> | 2016-01-13 18:33:12 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2016-01-13 18:33:12 +0000 |
commit | 06809ba3458e8ab8737618399e05149d707fda2c (patch) | |
tree | b8b713794f80f5c7b26f867f1ac53d5a8bc27628 /contrib/llvm/tools/clang/lib/Frontend/MultiplexConsumer.cpp | |
parent | d11935e3039113a1842b7e8bdfc5e51c117e9366 (diff) | |
download | FreeBSD-src-06809ba3458e8ab8737618399e05149d707fda2c.zip FreeBSD-src-06809ba3458e8ab8737618399e05149d707fda2c.tar.gz |
Improve non-interactive forth cmd error reporting
Non-interactive forth command errors where silent even for critical issues
e.g. failing to load a required kernel module or mfs_root.
This resulted in later unexplained and hard to trace errors such as mount
root failures.
This introduces additional command return codes that are treated
appropriately by the non-interactive command processor (bf_command).
* CMD_CRIT = print error
* CMD_FATAL = panic
Also fix minor style(9) issues with command_load return codes.
MFC after: 2 weeks
X-MFC-With: r293268
Sponsored by: Multiplay
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Frontend/MultiplexConsumer.cpp')
0 files changed, 0 insertions, 0 deletions