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

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 6 10:24:08 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>;
----------------
kastiglione wrote:

Should I add a `MemoryBufferUP` typedef somewhere?

I agree that lldb has a number of barely used typedefs, however in this case I didn't feel great about having `std::unique_ptr<llvm::MemoryBuffer>` all over the place, which is why I created a typedef.

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


More information about the lldb-commits mailing list