Skip to content

Commit fbb67e6

Browse files
committed
Windows CI fix?
1 parent d4a425a commit fbb67e6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

llvm/lib/Support/Unix/Signals.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ static void RemoveFilesToRemove() {
359359
}
360360

361361
void sys::CleanupOnSignal(uintptr_t Context) {
362+
[[maybe_unused]] auto BypassSandbox = sandbox::scopedDisable();
363+
362364
int Sig = (int)Context;
363365

364366
if (llvm::is_contained(InfoSigs, Sig)) {

llvm/lib/Support/Windows/Signals.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ WriteWindowsDumpFile(PMINIDUMP_EXCEPTION_INFORMATION ExceptionInfo) {
778778
}
779779

780780
void sys::CleanupOnSignal(uintptr_t Context) {
781+
[[maybe_unused]] auto BypassSandbox = sandbox::scopedDisable();
782+
781783
LPEXCEPTION_POINTERS EP = (LPEXCEPTION_POINTERS)Context;
782784
// Broken pipe is not a crash.
783785
//

0 commit comments

Comments
 (0)