================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to