//===-- MinidumpTypes.cpp -------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "MinidumpTypes.h" #include <optional> // C includes // C++ includes usingnamespacelldb_private; usingnamespaceminidump; // MinidumpMiscInfo const MinidumpMiscInfo *MinidumpMiscInfo::Parse(llvm::ArrayRef<uint8_t> &data) { … } std::optional<lldb::pid_t> MinidumpMiscInfo::GetPid() const { … } // Linux Proc Status // it's stored as an ascii string in the file std::optional<LinuxProcStatus> LinuxProcStatus::Parse(llvm::ArrayRef<uint8_t> &data) { … } lldb::pid_t LinuxProcStatus::GetPid() const { … }