Home
last modified time | relevance | path

Searched refs:ThreadCrashReporter (Results 1 – 9 of 9) sorted by relevance

/llvm-project/clang-tools-extra/clangd/support/
H A DThreadCrashReporter.h19 class ThreadCrashReporter {
29 ThreadCrashReporter(SignalCallback ThreadLocalCallback);
31 ~ThreadCrashReporter();
34 ThreadCrashReporter(ThreadCrashReporter &&RHS) = delete;
35 ThreadCrashReporter(const ThreadCrashReporter &) = delete;
36 ThreadCrashReporter &operator=(ThreadCrashReporter &&) = delete;
37 ThreadCrashReporter &operator=(const ThreadCrashReporter &) = delete;
52 ThreadCrashReporter *Next;
H A DThreadCrashReporter.cpp15 static thread_local ThreadCrashReporter *CurrentReporter = nullptr;
17 void ThreadCrashReporter::runCrashHandlers() { in runCrashHandlers()
28 ThreadCrashReporter *Reporter = CurrentReporter; in runCrashHandlers()
35 ThreadCrashReporter::ThreadCrashReporter(SignalCallback ThreadLocalCallback) in ThreadCrashReporter() function in clang::clangd::ThreadCrashReporter
44 ThreadCrashReporter::~ThreadCrashReporter() { in ~ThreadCrashReporter()
H A DCMakeLists.txt30 ThreadCrashReporter.cpp
/llvm-project/clang-tools-extra/clangd/unittests/
H A DThreadCrashReporterTests.cpp21 static void infoSignalHandler() { ThreadCrashReporter::runCrashHandlers(); } in infoSignalHandler()
41 ThreadCrashReporter ScopedReporter([&Called]() { Called = true; }); in TEST()
61 ThreadCrashReporter ScopedReporter([&Order] { Order.push_back('a'); }); in TEST()
63 ThreadCrashReporter ScopedReporter([&Order] { Order.push_back('b'); }); in TEST()
/llvm-project/utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/
H A DBUILD.bazel45 "support/ThreadCrashReporter.cpp",
61 "support/ThreadCrashReporter.h",
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/support/
H A DBUILD.gn23 "ThreadCrashReporter.cpp",
/llvm-project/clang-tools-extra/clangd/
H A DJSONTransport.cpp112 ThreadCrashReporter ScopedReporter([&JSON]() { in loop()
H A DTUScheduler.cpp63 #include "support/ThreadCrashReporter.h"
1018 /// To be called from ThreadCrashReporter's signal handler. in crashDumpCompileCommand()
1030 /// To be called from ThreadCrashReporter's signal handler. in crashDumpFileContents()
1043 /// To be called from ThreadCrashReporter's signal handler. in crashDumpParseInputs()
1082 ThreadCrashReporter ScopedReporter([&Inputs]() { in build()
1322 ThreadCrashReporter ScopedReporter([this, Name]() { in runTask()
1791 ThreadCrashReporter ScopedReporter([&Name, &Contents, &Command]() { in runWithPreamble()
/llvm-project/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp29 #include "support/ThreadCrashReporter.h"
754 ThreadCrashReporter::runCrashHandlers(); in clangdMain()
755 // Ensure ThreadCrashReporter and PrintStackTrace output is visible. in clangdMain()