Skip to content

Commit 88eb4cb

Browse files
committed
Remove #if guards from AppendBounds to fix compile on old POSIX.
1 parent 3e12cc9 commit 88eb4cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/source/Plugins/Process/POSIX/CrashReason.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ static void AppendFaultAddr(std::string &str, lldb::addr_t addr) {
5454
str += ss.str();
5555
}
5656

57-
#if defined(si_lower) && defined(si_upper)
5857
static void AppendBounds(std::string &str, lldb::addr_t lower_bound,
5958
lldb::addr_t upper_bound, lldb::addr_t addr) {
6059
llvm::raw_string_ostream stream(str);
@@ -71,7 +70,6 @@ static void AppendBounds(std::string &str, lldb::addr_t lower_bound,
7170
stream << ")";
7271
stream.flush();
7372
}
74-
#endif
7573

7674
static CrashReason GetCrashReasonForSIGSEGV(int code) {
7775
switch (code) {

0 commit comments

Comments
 (0)