From 88eb4cbbfe7ded9556131c3bd4228ee9e9d01b4d Mon Sep 17 00:00:00 2001 From: Daniel Thornburgh Date: Thu, 16 Mar 2023 16:15:38 -0700 Subject: [PATCH] Remove #if guards from AppendBounds to fix compile on old POSIX. --- lldb/source/Plugins/Process/POSIX/CrashReason.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lldb/source/Plugins/Process/POSIX/CrashReason.cpp b/lldb/source/Plugins/Process/POSIX/CrashReason.cpp index 058ec6ad2d97..2ae7f8390575 100644 --- a/lldb/source/Plugins/Process/POSIX/CrashReason.cpp +++ b/lldb/source/Plugins/Process/POSIX/CrashReason.cpp @@ -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) {