[clang] [clang-tools-extra] [lld] [lldb] [llvm] Rework the `Option` library to reduce dynamic relocations (PR #119198)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 19 00:34:02 PDT 2026


================
@@ -89,7 +90,9 @@ static constexpr opt::OptTable::Info LipoInfoTable[] = {
 
 class LipoOptTable : public opt::GenericOptTable {
 public:
-  LipoOptTable() : opt::GenericOptTable(lipo::LipoInfoTable) {}
+  LipoOptTable()
+      : opt::GenericOptTable(lipo::OptionStrTable, lipo::OptionPrefixesTable,
----------------
MaskRay wrote:

Switched to a single table in #224508 

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


More information about the cfe-commits mailing list