shafik added inline comments.

================
Comment at: 
lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp:273
+  ThreadSP new_thread_sp = std::make_shared<HistoryThread>(
+      *process_sp, tid, PCs, pcs_are_call_addresses);
 
----------------
A nitpick but you could have also done:

```
 ThreadSP new_thread_sp = std::make_shared<HistoryThread>(
      *process_sp, tid, PCs, true /*pcs_are_call_addresses*/);

```

Otherwise I would have made `pcs_are_call_addresses` a constant since you are 
using purely for documentation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101094

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

Reply via email to