[Lldb-commits] [lldb] [LLDB] Add more helper functions to ValueObject class. (PR #87197)

via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 1 10:48:07 PDT 2024


================
@@ -668,6 +699,32 @@ class ValueObject {
   CreateValueObjectFromData(llvm::StringRef name, const DataExtractor &data,
                             const ExecutionContext &exe_ctx, CompilerType type);
 
+  static lldb::ValueObjectSP
----------------
jimingham wrote:

Given targets can be big or little-endian, I'm a little worried about a "const void *bytes" that says nothing about what is in the bytes.  This is what DataBuffer's are for, why couldn't you use them?

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


More information about the lldb-commits mailing list