[Lldb-commits] [PATCH] D32930: New framework for lldb client-server communication tests.
Zachary Turner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu May 11 14:21:01 PDT 2017
zturner added inline comments.
================
Comment at: unittests/tools/lldb-server/tests/MessageObjects.cpp:98
+ unsigned int register_id;
+ key_str_ref.getAsInteger(10, register_id);
+
----------------
Do you need to check for an error here?
================
Comment at: unittests/tools/lldb-server/tests/MessageObjects.cpp:105
+ unsigned int register_value;
+ value_str_ref.getAsInteger(16, register_value);
+ registers[register_id] = register_value;
----------------
And here
https://reviews.llvm.org/D32930
More information about the lldb-commits
mailing list