aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Driveraux.mli
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the handling of errors and warnings (#44)Bernhard Schommer2018-02-081-2/+2
| | | | | | | | | | | | | | | | | * 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.
* Remove all temporary files at program exit (#46)Bernhard Schommer2018-01-031-0/+5
| | | | | | | | | Replaced calls to Filename.temp_file by own version Driveraux.tmp_file. The Driveraux.tmp_file function takes care that the temporary files are removed at exit. Consequently there is no need to explicitly remove temp files in Driver.
* Introduced configuration variable for gnu systems.Bernhard Schommer2017-02-131-3/+0
| | | | | | | The variable gnu_toolchain is true if a gnu toolchain is used and false in all other cases. The variable avoids the explicit test whether the system string is diab and should be easier to change. Bug 20521.
* Merged responfile function into command.Bernhard Schommer2016-07-191-6/+0
| | | | | | Command now decides whether to use a responsefile or call the external command directly. Bug 18004
* Added heuristic for passing arg via responsefiles.Bernhard Schommer2016-07-121-1/+7
| | | | | | | Since gnu make and other tools under windows seem to have a limit of around 8000 bytes per command line the arguments should be passed via responsefiles instead. Bug 18308
* Moved assembler and linker into own files.Bernhard Schommer2016-06-241-2/+11
| | | | | | The function to call the assembler and the linker are now in own files like the preprocessor. Bug 19197
* Driveraux.mli: fix documentation commentXavier Leroy2016-06-221-1/+1
|
* Moved shared frontend code in own file.Bernhard Schommer2016-05-241-0/+43
Clightgen and CompCert share the code for preprocessing as well as parsing C files. The code as well as command line switches is moved in the new module Frontend. Bug 18768