Home
last modified time | relevance | path

Searched refs:ExceptionCode (Results 1 – 24 of 24) sorted by relevance

/llvm-project/clang/unittests/Interpreter/ExceptionTests/
H A DInterpreterExceptionTest.cpp95 std::string ExceptionCode = Stringify(CUSTOM_EXCEPTION); in TEST() local
96 ExceptionCode += in TEST()
129 llvm::cantFail(Interp->ParseAndExecute(ExceptionCode)); in TEST()
/llvm-project/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp260 static StringRef ExceptionCodeToString(DWORD ExceptionCode) { in ExceptionCodeToString() argument
261 switch(ExceptionCode) { in ExceptionCodeToString()
508 Exception.ExceptionRecord.ExceptionCode) in main()
509 << " (" << Exception.ExceptionRecord.ExceptionCode << ")\n"; in main()
519 Exception.ExceptionRecord.ExceptionCode) in main()
520 << " (" << Exception.ExceptionRecord.ExceptionCode in main()
/llvm-project/libunwind/src/
H A DUnwind-seh.cpp70 ms_exc->ExceptionCode, ms_exc->ExceptionFlags, in _GCC_specific_handler()
72 if (ms_exc->ExceptionCode == STATUS_GCC_UNWIND) { in _GCC_specific_handler()
88 if (ms_exc->ExceptionCode == STATUS_GCC_THROW) { in _GCC_specific_handler()
176 ms_exc->ExceptionCode = STATUS_GCC_UNWIND; in _GCC_specific_handler()
207 ms_exc.ExceptionCode = STATUS_GCC_THROW; in __libunwind_seh_personality()
400 ms_exc.ExceptionCode = STATUS_GCC_THROW; in _Unwind_Resume()
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DExceptionRecord.h37 m_code = record.ExceptionCode; in ExceptionRecord()
47 : m_code(record.ExceptionCode), m_continuable(record.ExceptionFlags == 0), in ExceptionRecord()
H A DDebuggerThread.cpp303 (dbe.u.Exception.ExceptionRecord.ExceptionCode == in DebugLoop()
305 dbe.u.Exception.ExceptionRecord.ExceptionCode == in DebugLoop()
319 !(dbe.u.Exception.ExceptionRecord.ExceptionCode == in HandleExceptionEvent()
321 dbe.u.Exception.ExceptionRecord.ExceptionCode == in HandleExceptionEvent()
323 dbe.u.Exception.ExceptionRecord.ExceptionCode == in HandleExceptionEvent()
357 (info.ExceptionRecord.ExceptionCode == EXCEPTION_BREAKPOINT || in HandleCreateThreadEvent()
358 info.ExceptionRecord.ExceptionCode == STATUS_WX86_BREAKPOINT); in HandleCreateThreadEvent()
373 info.ExceptionRecord.ExceptionCode, thread_id); in HandleCreateProcessEvent()
/llvm-project/llvm/unittests/ObjectYAML/
H A DMinidumpYAMLTest.cpp174 EXPECT_EQ(0x23u, Exception.ExceptionCode); in TEST()
217 EXPECT_EQ(0x23u, Exception.ExceptionCode); in TEST()
274 EXPECT_EQ(0x0u, Exception.ExceptionCode); in TEST()
326 EXPECT_EQ(0x23u, Exception.ExceptionCode); in TEST()
442 ASSERT_THAT(0x23u, exception_stream->ExceptionRecord.ExceptionCode);
/llvm-project/llvm/lib/Support/
H A DCrashRecoveryContext.cpp212 int RetCode = (int)Except->ExceptionRecord->ExceptionCode; in ExceptionFilter()
271 switch (ExceptionInfo->ExceptionRecord->ExceptionCode) in ExceptionHandler()
292 int RetCode = (int)ExceptionInfo->ExceptionRecord->ExceptionCode; in ExceptionHandler()
/llvm-project/compiler-rt/lib/asan/
H A Dasan_win.cpp68 DWORD exception_code = info->ExceptionRecord->ExceptionCode; in SEHHandler()
94 if (ExceptionRecord->ExceptionCode != DBG_PRINTEXCEPTION_C) in INTERCEPTOR_WINAPI()
289 if (exception_pointers->ExceptionRecord->ExceptionCode != in ShadowExceptionHandler()
/llvm-project/compiler-rt/test/asan/TestCases/Windows/
H A Duser-exception.cpp20 DWORD exception_code = info->ExceptionRecord->ExceptionCode; in SEHHandler()
/llvm-project/lldb/source/Plugins/Process/Utility/
H A DStopInfoMachException.h52 static std::optional<exception_type_t> ExceptionCode(const char *name);
H A DStopInfoMachException.cpp573 StopInfoMachException::MachException::ExceptionCode(const char *name) { in ExceptionCode()
570 StopInfoMachException::MachException::ExceptionCode(const char *name) { ExceptionCode() function in StopInfoMachException::MachException
/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp252 if (exception_stream.ExceptionRecord.ExceptionCode == in RefreshStateAfterStop()
254 // This "ExceptionCode" value is a sentinel that is sometimes used in RefreshStateAfterStop()
274 uint32_t signo = exception_stream.ExceptionRecord.ExceptionCode; in RefreshStateAfterStop()
291 *stop_thread, exception_stream.ExceptionRecord.ExceptionCode, 2, in IsAlive()
299 exception_stream.ExceptionRecord.ExceptionCode, 8) in ReadMemory()
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp1023 if (exception_record->ExceptionCode == EXCEPTION_ACCESS_VIOLATION) in GetWriteFlag()
1029 return ((EXCEPTION_RECORD *)siginfo)->ExceptionCode == in GetWriteFlag()
1039 if (exception_record->ExceptionCode != EXCEPTION_ACCESS_VIOLATION)
1107 return static_cast<const EXCEPTION_RECORD *>(siginfo)->ExceptionCode;
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilWindows.cpp39 switch (ExceptionInfo->ExceptionRecord->ExceptionCode) { in ExceptionHandler()
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMinidump.h252 support::ulittle32_t ExceptionCode;
238 support::ulittle32_t ExceptionCode; global() member
/llvm-project/llvm/test/CodeGen/X86/
H A Dseh-safe-div-win32.ll109 ; DWORD ExceptionCode;
H A Dseh-safe-div.ll116 ; DWORD ExceptionCode;
/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedThread.cpp280 StopInfoMachException::MachException::ExceptionCode(value.data()); in CalculateStopInfo()
/llvm-project/llvm/unittests/Object/
H A DMinidumpTest.cpp762 EXPECT_EQ(0x02040302u, Exception.ExceptionCode); in TEST()
/llvm-project/lldb/unittests/Process/minidump/
H A DMinidumpParserTest.cpp
/llvm-project/llvm/lib/Support/Windows/
H A DSignals.inc843 unsigned RetCode = EP->ExceptionRecord->ExceptionCode;
855 ep->ExceptionRecord->ExceptionCode)
/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp410 mapRequiredHex(IO, "Exception Code", Exception.ExceptionCode); in mapping()
/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp709 exp_record.ExceptionCode = in AddExceptions()
/llvm-project/clang/include/clang/Basic/
H A DBuiltins.td2428 def ExceptionCode : MSLangBuiltin {