[Lldb-commits] [PATCH] D139252: [lldb/Plugins] Introduce Scripted Platform Plugin

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 15 04:21:22 PST 2022


mib marked an inline comment as done.
mib added inline comments.


================
Comment at: lldb/source/Plugins/Process/scripted/ScriptedThread.cpp:25-28
 void ScriptedThread::CheckInterpreterAndScriptObject() const {
-  lldbassert(m_script_object_sp && "Invalid Script Object.");
-  lldbassert(GetInterface() && "Invalid Scripted Thread Interface.");
+  assert(m_script_object_sp && "Invalid Script Object.");
+  assert(GetInterface() && "Invalid Scripted Thread Interface.");
 }
----------------
JDevlieghere wrote:
> I guess this can be inlined now? 
Right, may be I should even move this to the `ScriptedInterface` base, so every scripted class can benefit from it.


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

https://reviews.llvm.org/D139252



More information about the lldb-commits mailing list