aboutsummaryrefslogtreecommitdiff
path: root/lld/wasm
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2023-08-14 13:31:02 -0700
committerJustin Bogner <mail@justinbogner.com>2023-08-14 13:31:02 -0700
commit4e3b89483a6922d3f48670bb1c50a37f342918c6 (patch)
treeb07a802caa2087817599a9c53c75788e0a175788 /lld/wasm
parenta16104e6da6f36f3d72dbf53d10ba56495a0d65a (diff)
downloadllvm-4e3b89483a6922d3f48670bb1c50a37f342918c6.zip
llvm-4e3b89483a6922d3f48670bb1c50a37f342918c6.tar.gz
llvm-4e3b89483a6922d3f48670bb1c50a37f342918c6.tar.bz2
Revert "[Option] Add "Visibility" field and clone the OptTable APIs to use it"
this is failing on bots, reverting to investigate. This reverts commit a16104e6da6f36f3d72dbf53d10ba56495a0d65a.
Diffstat (limited to 'lld/wasm')
-rw-r--r--lld/wasm/Driver.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp
index 266ca25..c98d352 100644
--- a/lld/wasm/Driver.cpp
+++ b/lld/wasm/Driver.cpp
@@ -111,13 +111,9 @@ bool link(ArrayRef<const char *> args, llvm::raw_ostream &stdoutOS,
// Create table mapping all options defined in Options.td
static constexpr opt::OptTable::Info optInfo[] = {
-#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
- VISIBILITY, PARAM, HELPTEXT, METAVAR, VALUES) \
- {PREFIX, NAME, HELPTEXT, \
- METAVAR, OPT_##ID, opt::Option::KIND##Class, \
- PARAM, FLAGS, VISIBILITY, \
- OPT_##GROUP, OPT_##ALIAS, ALIASARGS, \
- VALUES},
+#define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X7, X8, X9, X10, X11, X12) \
+ {X1, X2, X10, X11, OPT_##ID, opt::Option::KIND##Class, \
+ X9, X8, OPT_##GROUP, OPT_##ALIAS, X7, X12},
#include "Options.inc"
#undef OPTION
};