summary refs log tree commit diff
path: root/tools
AgeCommit message (Collapse)Author
2017-02-15add support for closure callsQuentin Carbonneaux
Compiling languages with closures often requires passing an extra environment parameter to the called function. One solution is to use a convention, and reserve, say, the first argument for that purpose. However, that makes binding to C a little less smooth. Alternatively, QBE now provides a way to remain fully ABI compatible with C by having a "hidden" environment argument (marked with the keyword 'env'). Calling a function expecting an environment from C will make the contents of the environment undefined, but the normal arguments will be passed without alteration. Conversely, calling a C function like it is a closure by passing it an environemnt will work smoothly.
2017-02-10tests for variable argument listsQuentin Carbonneaux
2017-02-10support variable argument listsQuentin Carbonneaux
This change is backward compatible, calls to "variadic" functions (like printf) must now be annotated (with ...).
2017-01-04attempt to fix cc flags in testsQuentin Carbonneaux
2017-01-04more performance improvements in the parserQuentin Carbonneaux
2016-12-31minor bugs in lexh toolQuentin Carbonneaux
2016-12-30new tool to improve lexing speedQuentin Carbonneaux
2016-12-05disable pie (default on some os)Quentin Carbonneaux
2016-10-24return non-zero when tests failQuentin Carbonneaux
2016-10-19improve tests output for contbuildQuentin Carbonneaux
2016-08-16update help message of unit testerQuentin Carbonneaux
2016-04-18add tool to process afl resultsQuentin Carbonneaux
2016-03-29get more entropy in callgen.mlQuentin Carbonneaux
2016-03-29new layout, put LICENSE in rootQuentin Carbonneaux
2016-03-28implement export controlQuentin Carbonneaux
2016-03-27mac os compatibility fixes in scriptsQuentin Carbonneaux
2016-03-27free memory in pmov testQuentin Carbonneaux
2016-03-27fix path in regressQuentin Carbonneaux
2016-03-27fix wrong path in pmovQuentin Carbonneaux
2016-03-27compile pmov to cwdQuentin Carbonneaux
2016-03-27move tools to the rootQuentin Carbonneaux