[Lldb-commits] [PATCH] D134041: [LLDB] Enable non-trivial types in EmulateInstruction::Context

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 16 06:52:57 PDT 2022


DavidSpickett added reviewers: aprantl, clayborg.
DavidSpickett added a comment.

Note that this does not add any non trivial types but of course I did test it by adding some to RegisterInfo.

This work is early parts of https://discourse.llvm.org/t/rfc-showing-register-fields-in-lldb/64676.



================
Comment at: lldb/source/Target/DynamicRegisterInfo.cpp:239
     std::vector<uint32_t> invalidate_regs;
-    memset(&reg_info, 0, sizeof(reg_info));
 
----------------
This being an instance where there is a now a sensible default constructor that is used instead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134041/new/

https://reviews.llvm.org/D134041



More information about the lldb-commits mailing list