This patch adds a basic implementation of DoAllocateMemory and DoDeallocateMemory for Windows processes. For now it considers only the executable permission (and always allows reads and writes).
To run tests on x86 it requires https://reviews.llvm.org/D52613
The only difference in this test is the command line used to compile the inferior right? That sounds like something that we will run into for a lot of lit test, so I think it's important to work something our right away. Making a windows-flavoured copy of each test is not tractable.
Is there a reason you have to use clang-cl here? I was under the impression that clang.exe worked fine on windows too (and used a gcc-compatible command line)...