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

Reid Kleckner via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 11 11:12:10 PST 2024


================
@@ -53,10 +53,8 @@ class OptTable {
 public:
   /// Entry for a single option instance in the option data table.
   struct Info {
-    /// A null terminated array of prefix strings to apply to name while
-    /// matching.
-    ArrayRef<StringLiteral> Prefixes;
-    StringLiteral PrefixedName;
+    unsigned PrefixesOffset;
----------------
rnk wrote:

Thanks! I'm lean towards incremental development and progress, so let's proceed and land this and refactor to align.

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


More information about the lldb-commits mailing list