forked from OSchip/llvm-project
Build KillTheDoctor with mingw-w64
compiler-rt uses it in its lit tests. llvm-svn: 290357
This commit is contained in:
parent
a804957476
commit
143a937f79
|
@ -878,7 +878,7 @@ if( LLVM_INCLUDE_TESTS )
|
|||
endif()
|
||||
add_subdirectory(test)
|
||||
add_subdirectory(unittests)
|
||||
if (MSVC)
|
||||
if (WIN32)
|
||||
# This utility is used to prevent crashing tests from calling Dr. Watson on
|
||||
# Windows.
|
||||
add_subdirectory(utils/KillTheDoctor)
|
||||
|
|
|
@ -349,7 +349,7 @@ int main(int argc, char **argv) {
|
|||
::_set_error_mode(_OUT_TO_STDERR);
|
||||
|
||||
BOOL success = ::CreateProcessA(ProgramToRun.c_str(),
|
||||
LPSTR(CommandLine.c_str()),
|
||||
const_cast<LPSTR>(CommandLine.c_str()),
|
||||
NULL,
|
||||
NULL,
|
||||
FALSE,
|
||||
|
|
Loading…
Reference in New Issue