[Lldb-commits] [lldb] [llvm] [Option] Remove OPTTABLE_STR_TABLE_CODE (PR #224822)

Alexis Engelke via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 19 00:41:07 PDT 2026


================
@@ -320,17 +320,11 @@ static void emitOptionParser(const RecordKeeper &Records, raw_ostream &OS) {
     return 0u;
   };
 
-  // Dump string table.
-  OS << "/////////\n";
-  OS << "// String table\n\n";
-  OS << "#if defined(OPTTABLE_STR_TABLE_CODE) || defined(OPTTABLE_CODE)\n";
-  Table.EmitStringTableDef(OS, "OptionStrTable");
-  OS << "#undef OPTTABLE_STR_TABLE_CODE\n";
-  OS << "#endif // OPTTABLE_STR_TABLE_CODE || OPTTABLE_CODE\n\n";
-
   OS << "/////////\n";
   OS << "// Tables\n\n";
   OS << "#ifdef OPTTABLE_CODE\n";
+  Table.EmitStringTableDef(OS, "OptionStrTable");
----------------
aengelke wrote:

Could go into optionTables() now?

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


More information about the lldb-commits mailing list