JDevlieghere added inline comments.

================
Comment at: lldb/source/API/SBInstruction.cpp:260
+bool SBInstruction::GetDescription(lldb::SBStream &s, SBTarget target) {
+  LLDB_RECORD_METHOD(bool, SBInstruction, GetDescription,
+                     (lldb::SBStream &, lldb::SBTarget), s, target);
----------------
In addition to the `LLDB_RECORD_METHOD`, you also need the corresponding 
`LLDB_REGISTER_METHOD` macro. If you remove the macro, `lldb-instr` can 
generate both for you if you pass it the cpp file. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109249

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to