diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-06-01 15:26:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 19:26:55 +0000 |
commit | e40396003798678803f4091ac4132aefa3905d7a (patch) | |
tree | fe09746fd4a3f688edbdff718edc847ac7aeb548 /src/wasm/wasm-binary.cpp | |
parent | 028f47368fe844130f52ad7811c8028ebd18a38e (diff) | |
download | binaryen-e40396003798678803f4091ac4132aefa3905d7a.tar.gz binaryen-e40396003798678803f4091ac4132aefa3905d7a.tar.bz2 binaryen-e40396003798678803f4091ac4132aefa3905d7a.zip |
[wasm-split] Make option validation declarative (#3916)
In anticipation of adding a third wasm-split mode, merge-profiles, in addition
to the existing split and instrument modes, refactor wasm-split's option
validation to let the valid modes be declared for each option. This approach is
more scalable and robust than the ad-hoc validation we had previously.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions