summaryrefslogtreecommitdiff
path: root/src/support/command-line.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow all features on wasm2js and add atomic tests (#2311)Heejin Ahn2019-08-281-4/+0
| | | | | | This adds `-all` argument to wasm2js testing and fixes wasm2js to actually take that argument (currently it doesn't, when it takes a wast file). This also adds a wasm2js test for `atomic.fence` instruction that was added in #2307.
* Apply format changes from #2048 (#2059)Alon Zakai2019-04-261-12/+14
| | | Mass change to apply clang-format to everything. We are applying this in a PR by me so the (git) blame is all mine ;) but @aheejin did all the work to get clang-format set up and all the manual work to tidy up some things to make the output nicer in #2048
* Use target features section in wasm-opt (#1967)Thomas Lively2019-04-031-2/+2
| | | | | | | If the user does not supply features explicitly on the command line, read and use the features in the target features section for validation and passes. If the user does supply features explicitly, error if they are not a superset of the features marked as used in the target features section and the user does not explicitly handle this.
* 'std::string &' => 'std::string& ' (#1403)Alon Zakai2018-02-051-5/+5
| | | The & on the type is the proper convention.
* Make --debug a booleanJF Bastien2016-03-181-1/+1
| | | | As discussed in #248.
* asm2wasm: use support's command-lineJF Bastien2016-01-111-2/+2
|
* Generalize command-line parsing more.JF Bastien2016-01-021-10/+40
| | | | This should allow other programs to use the same command-line support.
* Fix include guards.JF Bastien2015-12-291-3/+3
|
* Start moving command-line processing to libsupport.aJF Bastien2015-12-291-0/+43
This only moves things, no functional change yet.