From 0ec7baa9f40eb48b9c74fcb3c2194306e3a82c54 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 1 Jul 2014 00:18:46 +0000 Subject: Fix Windows build after llgs upstream. With _HAS_EXCEPTIONS=0, Windows' version of will fail to compile because it calls __uncaught_exception(), which is compiled out due to _HAS_EXCEPTIONS=0. This just creates a stub version of __uncaught_exception() which always fails. llvm-svn: 212076 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index e59cf34f8e3..9275ddcda1b 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -9,6 +9,8 @@ #include +#include "lldb/Host/Config.h" + #include "GDBRemoteCommunicationServer.h" #include "lldb/Core/StreamGDBRemote.h" -- cgit v1.2.3