From 4e3b89483a6922d3f48670bb1c50a37f342918c6 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Mon, 14 Aug 2023 13:31:02 -0700 Subject: 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. --- lld/wasm/Driver.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lld/wasm') 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 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 }; -- cgit v1.1