Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/cases/
H A Dtest_from_cdb.py60 exit_code, __ = run_analyzer(tmpdir, cdb, [])
61 self.assertFalse(exit_code)
67 self.assertFalse(exit_code)
73 self.assertTrue(exit_code)
79 self.assertFalse(exit_code)
84 exit_code, __ = run_analyzer(
86 self.assertTrue(exit_code)
91 exit_code, __ = run_analyzer(
93 self.assertFalse(exit_code)
175 exit_code, reportdir = run_analyzer(
[all …]
H A D__init__.py60 exit_code, result = call_and_report(analyzer_cmd, build_cmd)
61 if exit_code != 0:
63 exit_code, analyzer_cmd + build_cmd, None)
/llvm-project-15.0.7/lldb/utils/lldb-repro/
H A Dlldb-repro.py59 exit_code = subprocess.call(new_args)
65 replay_exit_code = exit_code
67 exit_code = int(f.read())
72 return 1 if (exit_code == 0) else 0
76 f.write('%d' % exit_code)
78 return exit_code
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtilLinux.cpp25 int exit_code = system(CmdLine.c_str()); in ExecuteCommand() local
26 if (WIFEXITED(exit_code)) in ExecuteCommand()
27 return WEXITSTATUS(exit_code); in ExecuteCommand()
28 return exit_code; in ExecuteCommand()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/
H A Dexitcode.cpp47 DWORD exit_code; in spawn_child() local
48 if (!GetExitCodeProcess(pi.hProcess, &exit_code)) { in spawn_child()
57 return exit_code; in spawn_child()
123 int exit_code = spawn_child(argv); in main() local
124 if (exit_code == 42) { in main()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DLocalDebugDelegate.cpp18 void LocalDebugDelegate::OnExitProcess(uint32_t exit_code) { in OnExitProcess() argument
20 process->OnExitProcess(exit_code); in OnExitProcess()
43 uint32_t exit_code) { in OnExitThread() argument
45 process->OnExitThread(thread_id, exit_code); in OnExitThread()
H A DNativeProcessWindows.h98 void OnExitProcess(uint32_t exit_code) override;
103 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override;
145 void OnExitProcess(uint32_t exit_code) override { in OnExitProcess() argument
146 m_process.OnExitProcess(exit_code); in OnExitProcess()
162 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override { in OnExitThread() argument
163 m_process.OnExitThread(thread_id, exit_code); in OnExitThread()
H A DIDebugDelegate.h29 virtual void OnExitProcess(uint32_t exit_code) = 0;
34 virtual void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) = 0;
H A DLocalDebugDelegate.h45 void OnExitProcess(uint32_t exit_code) override;
50 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override;
H A DProcessDebugger.h53 virtual void OnExitProcess(uint32_t exit_code);
58 virtual void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code);
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dcheck_path.py16 exit_code = 0
26 exit_code = 1
27 return exit_code
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/googletest-crash/DummySubDir/
H A DOneTest.py44 exit_code = 1 variable
49 exit_code = 0 variable
51 sys.exit(exit_code)
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/googletest-sanitizer-error/DummySubDir/
H A DOneTest.py54 exit_code = 1 variable
57 exit_code = 0 variable
59 sys.exit(exit_code)
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/
H A DOneTest.py103 exit_code = 1 variable
106 exit_code = 0 variable
108 sys.exit(exit_code)
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/
H A DOneTest.py55 exit_code = 0 variable
66 exit_code = 0 variable
68 sys.exit(exit_code)
/llvm-project-15.0.7/lldb/source/Host/windows/
H A DHostThreadWindows.cpp38 DWORD exit_code = 0; in Join() local
39 if (!::GetExitCodeThread(m_thread, &exit_code)) in Join()
41 *result = exit_code; in Join()
H A DHostProcessWindows.cpp69 DWORD exit_code; in MonitorThread() local
72 ::GetExitCodeProcess(process_handle, &exit_code); in MonitorThread()
73 callback(::GetProcessId(process_handle), 0, exit_code); in MonitorThread()
/llvm-project-15.0.7/compiler-rt/test/profile/Windows/Inputs/
H A Dinstrprof-multiprocess.c43 DWORD exit_code; in wait_child() local
44 if (!GetExitCodeProcess(pi->hProcess, &exit_code)) { in wait_child()
53 return exit_code; in wait_child()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectQuit.cpp87 int exit_code; in DoExecute() local
88 if (arg.getAsInteger(/*autodetect radix*/ 0, exit_code)) { in DoExecute()
95 if (!m_interpreter.SetQuitExitCode(exit_code)) { in DoExecute()
/llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/
H A D__init__.py54 exit_code = subprocess.call(command, *args, **kwargs)
55 logging.debug('build finished with exit code: %d', exit_code)
56 return exit_code
/llvm-project-15.0.7/libcxx/utils/libcxx/test/
H A Dtarget_info.py54 out, err, exit_code = executeCommand(['xcrun', '--show-sdk-path'])
55 if exit_code != 0:
57 if exit_code == 0 and out:
/llvm-project-15.0.7/libcxx/utils/
H A Dsym_diff.py68 exit_code = 1 if is_break or (args.strict and is_different) else 0
69 sys.exit(exit_code)
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp216 int exit_code = 0; in TracerThread() local
219 exit_code = 3; in TracerThread()
224 exit_code = 0; in TracerThread()
229 return exit_code; in TracerThread()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/signal-filtering/
H A DTestGdbRemote_QPassSignals.py26 def expect_exit_code(self, exit_code): argument
29 "send packet: $W{0:02x}#00".format(exit_code)],
/llvm-project-15.0.7/lldb/tools/driver/
H A DDriver.cpp819 if (auto exit_code = InitializeReproducer(argv[0], input_args)) { in main() local
820 return *exit_code; in main()
838 int exit_code = 0; in main() local
847 exit_code = 1; in main()
851 exit_code = driver.MainLoop(); in main()
856 return exit_code; in main()

12