This revision was automatically updated to reflect the committed changes. Closed by commit rG9efb4db29dcc: [lldb] TestInferiorCrashing.py should check for crash reason (authored by bulbazord).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147001/new/ https://reviews.llvm.org/D147001 Files: lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py Index: lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py =================================================================== --- lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py +++ lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -64,7 +64,7 @@ if self.platformIsDarwin(): stop_reason = 'stop reason = EXC_BAD_ACCESS' elif self.getPlatform() == "linux" or self.getPlatform() == "freebsd": - stop_reason = 'stop reason = signal SIGSEGV' + stop_reason = 'stop reason = signal SIGSEGV: address not mapped to object' else: stop_reason = 'stop reason = invalid address' self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS,
Index: lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py =================================================================== --- lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py +++ lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -64,7 +64,7 @@ if self.platformIsDarwin(): stop_reason = 'stop reason = EXC_BAD_ACCESS' elif self.getPlatform() == "linux" or self.getPlatform() == "freebsd": - stop_reason = 'stop reason = signal SIGSEGV' + stop_reason = 'stop reason = signal SIGSEGV: address not mapped to object' else: stop_reason = 'stop reason = invalid address' self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS,
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits