[Lldb-commits] [PATCH] D105717: [trace] [intel pt] Create a "thread trace dump stats" command
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 20 10:09:08 PDT 2021
JDevlieghere added inline comments.
================
Comment at: lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp:125-126
+ return Decode(thread)->GetRawTraceSize();
+ else
+ return None;
+}
----------------
No else after return. Seems like a good candidate for a ternary operator.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105717/new/
https://reviews.llvm.org/D105717
More information about the lldb-commits
mailing list