[Lldb-commits] [PATCH] D78588: [lldb/Core] Check that ArchSpec is valid.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 21 16:48:55 PDT 2020


clayborg added a comment.

None of this is exposed through SBPlatform right? No way to test this?



================
Comment at: lldb/source/Target/Platform.cpp:1825-1826
   ArchSpec arch = target.GetArchitecture();
+  if (!arch.IsValid())
+    return 0;
+
----------------
would be nice to log something here on the "lldb break" log channel?


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D78588





More information about the lldb-commits mailing list