[Lldb-commits] [PATCH] D146263: [lldb] Move UnixSignals creation into Platform plugins

Jordan Rupprecht via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 22 14:18:56 PDT 2023


rupprecht added inline comments.


================
Comment at: lldb/source/Target/UnixSignals.cpp:39
+  // If we have no host platform, be resilient and use default UnixSignals.
+  if (!host_platform_sp)
+    s_unix_signals_sp = std::make_shared<UnixSignals>();
----------------
I think the divergence might be happening here -- the host platform is null here, so we get UnixSignals instead of the subcode from LinuxSignals.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146263



More information about the lldb-commits mailing list