summaryrefslogtreecommitdiffstats
path: root/lldb/test/make/uncaught_exception.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-03-13 21:51:11 +0000
committerZachary Turner <zturner@google.com>2015-03-13 21:51:11 +0000
commit794e6a60a8ceab3781a8b99952f24592a4a9c007 (patch)
tree13d85109156d549059d098d2070e67ec27f3a06e /lldb/test/make/uncaught_exception.h
parenta1410321f6ddfe0ce47eccfbadf2e1955588ed32 (diff)
downloadbcm5719-llvm-794e6a60a8ceab3781a8b99952f24592a4a9c007.tar.gz
bcm5719-llvm-794e6a60a8ceab3781a8b99952f24592a4a9c007.zip
Fix makefiles to build shared library tests on Windows.
Abstracted away some POSIX-isms that caused MAKE to issue invalid commands on Windows. Added a new force-include for the test programs so that we can use platform-specific macros. TestSharedLib now builds and cleans up on Windows, though the test still fails some of the expectations. Differential Revision: http://reviews.llvm.org/D8277 Patch by: Adrian McCarthy Issue Tracker: http://llvm.org/pr21727 llvm-svn: 232220
Diffstat (limited to 'lldb/test/make/uncaught_exception.h')
-rw-r--r--lldb/test/make/uncaught_exception.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/test/make/uncaught_exception.h b/lldb/test/make/uncaught_exception.h
deleted file mode 100644
index 2d5d964e992..00000000000
--- a/lldb/test/make/uncaught_exception.h
+++ /dev/null
@@ -1,5 +0,0 @@
-// MSVC header files have compilation issues when compiling with exceptions disabled. Notably,
-// this function is compiled out when _HAS_EXCEPTIONS=0, but this function is called from another
-// place even when _HAS_EXCEPTIONS=0. So we define a dummy implementation as a workaround and
-// force include this header file.
-static void *__uncaught_exception() { return nullptr; }
OpenPOWER on IntegriCloud