Remove #if guards from AppendBounds to fix compile on old POSIX.

This commit is contained in:
Daniel Thornburgh
2023-03-16 16:15:38 -07:00
parent 3e12cc9463
commit 88eb4cbbfe

View File

@@ -54,7 +54,6 @@ static void AppendFaultAddr(std::string &str, lldb::addr_t addr) {
str += ss.str();
}
#if defined(si_lower) && defined(si_upper)
static void AppendBounds(std::string &str, lldb::addr_t lower_bound,
lldb::addr_t upper_bound, lldb::addr_t addr) {
llvm::raw_string_ostream stream(str);
@@ -71,7 +70,6 @@ static void AppendBounds(std::string &str, lldb::addr_t lower_bound,
stream << ")";
stream.flush();
}
#endif
static CrashReason GetCrashReasonForSIGSEGV(int code) {
switch (code) {