Home
last modified time | relevance | path

Searched refs:RetCode (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DCrashRecoveryContext.cpp65 void HandleCrash(int RetCode, uintptr_t Context) { in HandleCrash()
76 CRC->RetCode = RetCode; in HandleCrash()
212 if ((RetCode & 0xF0000000) == 0xE0000000) in ExceptionFilter()
292 if ((RetCode & 0xF0000000) == 0xE0000000) in ExceptionHandler()
382 int RetCode = 128 + Signal; in CrashRecoverySignalHandler() local
386 RetCode = EX_IOERR; in CrashRecoverySignalHandler()
440 CRCI->HandleCrash(RetCode, 0 /*no sig num*/); in HandleExit()
457 if (RetCode <= 128) in isCrash()
464 if (!isCrash(RetCode)) in throwIfCrash()
467 ::RaiseException(RetCode, 0, 0, NULL); in throwIfCrash()
[all …]
H A DProcess.cpp95 [[noreturn]] void Process::Exit(int RetCode, bool NoCleanup) { in Exit() argument
97 CRC->HandleExit(RetCode); in Exit()
100 ExitNoCleanup(RetCode); in Exit()
102 ::exit(RetCode); in Exit()
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileSystemStatCache.cpp39 std::error_code RetCode; in get() local
43 RetCode = Cache->getStat(Path, Status, isFile, F, FS); in get()
49 RetCode = StatusOrErr.getError(); in get()
65 RetCode = OwnedFile.getError(); in get()
78 RetCode = StatusOrErr.getError(); in get()
84 if (RetCode) in get()
85 return RetCode; in get()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCrashRecoveryTest.cpp98 EXPECT_NE(CRC.RetCode, 0); in TEST()
164 if (CRC.RetCode != 128 + SIGABRT) in TEST()
168 raise(CRC.RetCode - 128); in TEST()
188 int RetCode = ExecuteAndWait(Executable, argv, {}, {}, 0, 0, &Error, in TEST() local
190 ASSERT_EQ(-2, RetCode); in TEST()
H A DProgramTest.cpp278 int RetCode = in TEST_F() local
281 ASSERT_EQ(-2, RetCode); in TEST_F()
291 int RetCode = ExecuteAndWait(Executable, argv, llvm::None, {}, 0, 0, &Error, in TEST() local
293 ASSERT_LT(RetCode, 0) << "On error ExecuteAndWait should return 0 or " in TEST()
371 int RetCode = ExecuteAndWait(Executable, argv, getEnviron(), {}, 0, 0, &Error, in TEST_F() local
373 ASSERT_EQ(0, RetCode); in TEST_F()
450 int RetCode = ExecuteAndWait(Executable, argv, getEnviron(), {}, 0, 0, &Error, in TEST_F() local
453 ASSERT_EQ(0, RetCode); in TEST_F()
H A DHost.cpp411 int RetCode = ExecuteAndWait(ExePath, argv, /*env=*/llvm::None, Redirects); in runAndGetCommandOutput() local
412 ASSERT_EQ(0, RetCode); in runAndGetCommandOutput()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h102 [[noreturn]] void HandleExit(int RetCode);
105 static bool isCrash(int RetCode);
109 static bool throwIfCrash(int RetCode);
112 int RetCode = 0; variable
H A DProcess.h216 [[noreturn]] static void Exit(int RetCode, bool NoCleanup = false);
219 [[noreturn]] static void ExitNoCleanup(int RetCode);
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dseh-except-restore.ll21 ptr nocapture dereferenceable(4) %RetCode)
38 store i32 %2, ptr %RetCode, align 4
/llvm-project-15.0.7/lld/tools/lld/
H A Dlld.cpp190 return {crc.RetCode, /*canRunAgain=*/false}; in safeLldMain()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkRunner.cpp112 if (const char *const SigName = strsignal(CRC.RetCode - kSigOffset)) { in runAndSample()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DProcess.inc463 [[noreturn]] void Process::ExitNoCleanup(int RetCode) { _Exit(RetCode); }
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DProcess.inc512 [[noreturn]] void Process::ExitNoCleanup(int RetCode) {
513 TerminateProcess(GetCurrentProcess(), RetCode);
/llvm-project-15.0.7/clang/lib/Driver/
H A DJob.cpp409 return CRC.RetCode; in Execute()
H A DDriver.cpp3670 auto RetCode = in addDeviceDependencesToHostAction() local
3676 if (RetCode == DeviceActionBuilder::ABRT_Ignore_Host) in addDeviceDependencesToHostAction()
3681 if (RetCode != DeviceActionBuilder::ABRT_Inactive) in addDeviceDependencesToHostAction()
3739 auto RetCode = SB->addDeviceDepences(HostAction); in addHostDependenceToDeviceActions() local
3743 assert(RetCode != DeviceActionBuilder::ABRT_Ignore_Host && in addHostDependenceToDeviceActions()
3748 if (RetCode != DeviceActionBuilder::ABRT_Inactive) in addHostDependenceToDeviceActions()