[llvm] [MC] Declare command line options in TableGen (PR #228321)

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 22:06:08 PDT 2026


================
@@ -1,3 +1,7 @@
+set(LLVM_TARGET_DEFINITIONS MCCLOptions.td)
+tablegen(LLVM MCCLOptions.inc -gen-opt-parser-defs)
+add_public_tablegen_target(MCCLOptionsTableGen)
----------------
rnk wrote:

lib/MC, the last piece of LLVM that could build before tablegen finished running, it's a shame. :)

https://github.com/llvm/llvm-project/pull/228321


More information about the llvm-commits mailing list