File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,6 @@ class CrashRecoveryContext {
8080 // / make as little assumptions as possible about the program state when
8181 // / RunSafely has returned false.
8282 LLVM_ABI bool RunSafely (function_ref<void ()> Fn);
83- bool RunSafely (void (*Fn)(void *), void *UserData) {
84- return RunSafely ([&]() { Fn (UserData); });
85- }
8683
8784 // / Execute the provide callback function (with the given arguments) in
8885 // / a protected context which is run in another thread (optionally with a
@@ -94,10 +91,6 @@ class CrashRecoveryContext {
9491 // / propagated to the new thread as well.
9592 LLVM_ABI bool RunSafelyOnThread (function_ref<void ()>,
9693 unsigned RequestedStackSize = 0);
97- bool RunSafelyOnThread (void (*Fn)(void *), void *UserData,
98- unsigned RequestedStackSize = 0) {
99- return RunSafelyOnThread ([&]() { Fn (UserData); }, RequestedStackSize);
100- }
10194
10295 LLVM_ABI bool RunSafelyOnNewStack (function_ref<void ()>,
10396 unsigned RequestedStackSize = 0);
You can’t perform that action at this time.
0 commit comments