[Lldb-commits] [lldb] a372070 - [lldb] Remove MIPS64 specific signal handling for Linux

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 13 04:56:25 PDT 2023


Author: David Spickett
Date: 2023-03-13T11:50:07Z
New Revision: a372070389a672274ad288cf8fd748d25569a2b8

URL: https://github.com/llvm/llvm-project/commit/a372070389a672274ad288cf8fd748d25569a2b8
DIFF: https://github.com/llvm/llvm-project/commit/a372070389a672274ad288cf8fd748d25569a2b8.diff

LOG: [lldb] Remove MIPS64 specific signal handling for Linux

MIPS Linux support was removed in ce03a862372a6f36d2fcf80dc80052aa155fcae8
so this is no longer needed.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
index 9572f617e60d3..9b9dfe5214601 100644
--- a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
@@ -294,12 +294,7 @@ void NativeThreadLinux::SetStoppedBySignal(uint32_t signo,
     case SIGBUS:
     case SIGFPE:
     case SIGILL:
-      // In case of MIPS64 target, SI_KERNEL is generated for invalid 64bit
-      // address.
-      const auto reason =
-          (info->si_signo == SIGBUS && info->si_code == SI_KERNEL)
-              ? CrashReason::eInvalidAddress
-              : GetCrashReason(*info);
+      const auto reason = GetCrashReason(*info);
       m_stop_description = GetCrashReasonString(reason, *info);
 
       if (reason == CrashReason::eSyncTagCheckFault) {


        


More information about the lldb-commits mailing list