Remove the program "KillTheDoctor". It implemented a workaround for stopping "Dr. Watson" (Name of the error reporting tool in older version of Windows) from launching on regression tests. Win32 has an API for disabling error reporting which is already implemented in sys::DisableSystemDialogsOnCrash(), gtest and relevant test cases such as compiler-rt/test/asan/TestCases/ill.cpp.
For more details and discussion, see http://lists.llvm.org/pipermail/llvm-dev/2020-June/142099.html
It would be an idea to generally launch programs with the SEM_NOGPFAULTERRORBOX flag in llvm-lit (and maybe not), so its is not necessary to insert code in test case programs that are not based on an LLVM tool or gtest.
These changes look wrong.