14#if defined(si_lower) && defined(si_upper)
15 std::optional<lldb::addr_t> lower =
17 std::optional<lldb::addr_t> upper =
20 std::optional<lldb::addr_t> lower;
21 std::optional<lldb::addr_t> upper;
24 std::string description =
26 info.si_signo, info.si_code,
27 reinterpret_cast<uintptr_t
>(info.si_addr), lower, upper);
28 assert(description.size() &&
"unexpected signal");
30 return "signal " + description;
std::string GetCrashReasonString(const siginfo_t &info)
static lldb::UnixSignalsSP CreateForHost()