mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Build KillTheDoctor with mingw-w64
compiler-rt uses it in its lit tests. llvm-svn: 290357
This commit is contained in:
parent
8d7cd1c8ba
commit
786cc439a4
@ -878,7 +878,7 @@ if( LLVM_INCLUDE_TESTS )
|
|||||||
endif()
|
endif()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
add_subdirectory(unittests)
|
add_subdirectory(unittests)
|
||||||
if (MSVC)
|
if (WIN32)
|
||||||
# This utility is used to prevent crashing tests from calling Dr. Watson on
|
# This utility is used to prevent crashing tests from calling Dr. Watson on
|
||||||
# Windows.
|
# Windows.
|
||||||
add_subdirectory(utils/KillTheDoctor)
|
add_subdirectory(utils/KillTheDoctor)
|
||||||
|
@ -349,7 +349,7 @@ int main(int argc, char **argv) {
|
|||||||
::_set_error_mode(_OUT_TO_STDERR);
|
::_set_error_mode(_OUT_TO_STDERR);
|
||||||
|
|
||||||
BOOL success = ::CreateProcessA(ProgramToRun.c_str(),
|
BOOL success = ::CreateProcessA(ProgramToRun.c_str(),
|
||||||
LPSTR(CommandLine.c_str()),
|
const_cast<LPSTR>(CommandLine.c_str()),
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
FALSE,
|
FALSE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user