aprantl added inline comments.
================ Comment at: lldb/unittests/Expression/DWARFExpressionTest.cpp:347 + ExecutionContext exe_ctx(process_sp); + EXPECT_THAT_EXPECTED(Evaluate({DW_OP_lit4, DW_OP_deref}, {}, {}, &exe_ctx), + llvm::HasValue(GetScalar(32, 0x07060504, false))); ---------------- vsk wrote: > Neat, so lit4 is the address and the read pulls out [4, 5, 6, 7]. Yeah that's the lowest sensible address without dereferencing a nullptr :-) CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96549/new/ https://reviews.llvm.org/D96549 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits