[Lldb-commits] [PATCH] D122486: [lldb] Fix building for mingw after changes to sigtstp_handler
Martin Storsjö via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 25 08:56:14 PDT 2022
mstorsjo updated this revision to Diff 418244.
mstorsjo added a comment.
Changed the existing ifdef around the signals that were omitted in the MSVC build.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122486/new/
https://reviews.llvm.org/D122486
Files:
lldb/tools/driver/Driver.cpp
Index: lldb/tools/driver/Driver.cpp
===================================================================
--- lldb/tools/driver/Driver.cpp
+++ lldb/tools/driver/Driver.cpp
@@ -829,7 +829,7 @@
SBHostOS::ThreadCreated("<lldb.driver.main-thread>");
signal(SIGINT, sigint_handler);
-#if !defined(_MSC_VER)
+#if !defined(_WIN32)
signal(SIGPIPE, SIG_IGN);
signal(SIGWINCH, sigwinch_handler);
signal(SIGTSTP, sigtstp_handler);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122486.418244.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220325/d37e473e/attachment.bin>
More information about the lldb-commits
mailing list