[Lldb-commits] [lldb] [lldb][Process/FreeBSDKernelCore] Defer actual core loading to DoLoadCore() (PR #186626)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 24 08:26:26 PDT 2026


================
@@ -79,9 +78,11 @@ lldb::ProcessSP ProcessFreeBSDKernelCore::CreateInstance(
     kvm_t *kvm =
         kvm_open2(executable->GetFileSpec().GetPath().c_str(),
                   crash_file->GetPath().c_str(), O_RDONLY, nullptr, nullptr);
----------------
DavidSpickett wrote:

Sounds fine then. I trust kvm to do the right validation more than I trust us to implement a subset of that validation correctly.

https://github.com/llvm/llvm-project/pull/186626


More information about the lldb-commits mailing list