File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
llvm/include/llvm/BinaryFormat Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,6 @@ Status MinidumpFileBuilder::AddExceptions() {
695695
696696 RegisterContextSP reg_ctx_sp (thread_sp->GetRegisterContext ());
697697 Exception exp_record = {};
698- exp_record.ExceptionCode = static_cast <llvm::support::ulittle32_t >(stop_info_sp->GetValue ());
699698 exp_record.ExceptionCode =
700699 static_cast <llvm::support::ulittle32_t >(stop_info_sp->GetValue ());
701700 exp_record.ExceptionFlags = static_cast <llvm::support::ulittle32_t >(Exception::LLDB_FLAG);
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ void ProcessMinidump::RefreshStateAfterStop() {
274274 return ;
275275 }
276276 const char * description = nullptr ;
277- if (( exception_stream.ExceptionRecord .ExceptionFlags & llvm::minidump::Exception::LLDB_FLAG) == llvm::minidump::Exception::LLDB_FLAG)
277+ if (exception_stream.ExceptionRecord .ExceptionFlags == llvm::minidump::Exception::LLDB_FLAG)
278278 description = reinterpret_cast <const char *>(exception_stream.ExceptionRecord .ExceptionInformation );
279279
280280 stop_info = StopInfo::CreateStopReasonWithSignal (*stop_thread, signo, description);
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ static_assert(sizeof(Thread) == 48);
247247struct Exception {
248248 static constexpr size_t MaxParameters = 15 ;
249249 static constexpr size_t MaxParameterBytes = MaxParameters * sizeof (uint64_t );
250- static const uint32_t LLDB_FLAG = 0x80000000 ;
250+ static const uint32_t LLDB_FLAG = ' LLDB ' ;
251251
252252 support::ulittle32_t ExceptionCode;
253253 support::ulittle32_t ExceptionFlags;
You can’t perform that action at this time.
0 commit comments