aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Commandline.mli
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the handling of errors and warnings (#44)Bernhard Schommer2018-02-081-3/+8
| | | | | | | | | | | | | | | | | * Module Cerrors is now called Diagnostic and can be used in parts of CompCert other than cparser/ * Replaced eprintf error. Instead of having eprintf msg; exit 2 use the functions from the Diagnostics module. * Raise on error before calling external tools. * Added diagnostics to clightgen. * Fix error handling of AsmToJson. * Cleanup error handling of Elab and C2C. *The implementation of location printing (file & line) is simplified and correctly prints valid filenames with invalid lines.
* Added a little bit more compilation info to sdump.Bernhard Schommer2017-06-261-0/+3
| | | | | | The additional compilation information contains the file, command line (after @-file expansion) and the current working directory. Bug 21690
* Added option -fmax-errors.Bernhard Schommer2017-01-261-0/+5
| | | | | | | The option -fmax-errors limits the number of errors that are reported before the compilation is aborted. The default 0 means no limit. Bug 19872
* Ignore also ignores the argunment. Bug 18004Bernhard Schommer2016-09-201-1/+1
|
* Additional test for color output.Bernhard Schommer2016-08-051-0/+2
| | | | | | Color output is only enabled if stderr is a tty, and the environment variable TERM is not empty or dumb. Bug 18004
* PR#16: give option rules precedence over file pattern rules.Xavier Leroy2015-01-031-2/+1
| | | | | | Plus: simplify handling of -help and --help. Plus: error on unrecognized "-xxx" options so that "-foo.c" is not treated as a source file.
* Revised parsing of command-line arguments (in preparation for adding more).Xavier Leroy2014-11-161-0/+41
Honor "ccomp -E foo.h" for GCC compatibility. Accept .o.ext files as object files for GCC compatibility. Fixed and improved handling of Cminor source files.