summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-05-03 19:22:58 -0700
committerGitHub <noreply@github.com>2019-05-03 19:22:58 -0700
commit923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8 (patch)
tree448ac0d3b21ff8abae9e30df84e4287f071a0eb3 /src/tools
parent415e8b37c2e570117b17394d4910ca57fa2d11d8 (diff)
downloadbinaryen-923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8.tar.gz
binaryen-923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8.tar.bz2
binaryen-923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8.zip
Add exception handling feature (#2083)
This only adds the feature and its flag and not the instructions yet.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tool-options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tool-options.h b/src/tools/tool-options.h
index 1f13063c5..016154252 100644
--- a/src/tools/tool-options.h
+++ b/src/tools/tool-options.h
@@ -68,6 +68,8 @@ struct ToolOptions : public Options {
.addFeature(FeatureSet::TruncSat, "nontrapping float-to-int operations")
.addFeature(FeatureSet::SIMD, "SIMD operations and types")
.addFeature(FeatureSet::BulkMemory, "bulk memory operations")
+ .addFeature(FeatureSet::ExceptionHandling,
+ "exception handling operations")
.add("--no-validation",
"-n",
"Disables validation, assumes inputs are correct",