[Lldb-commits] [lldb] [lldb] Implement bytecode based SyntheticChildren (PR #179832)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 6 02:58:34 PST 2026


================
@@ -56,8 +59,42 @@ struct DataStack : public std::vector<DataStackElement> {
     return el;
   }
 };
-llvm::Error Interpret(std::vector<ControlStackElement> &control,
-                      DataStack &data, Selectors sel);
+
+using BytecodeBytes = std::unique_ptr<llvm::MemoryBuffer>;
----------------
Michael137 wrote:

Do we think this is a useful typedef? If so, perhaps we could add a `UP` so we have some indication that this is a smart pointer. Though I personally would probably just not use a typedef at all

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


More information about the lldb-commits mailing list