Also, I think that the libraries (both DLL and LIB) should be in usr\lib\swift\windows\x86_64
instead of usr\lib\swift\windows
as clang++
only adds that path to the linker step (-libpath:C:\Users\pvieito\Download s\toolchain\toolchain\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\lib\swift\windows/x86_64
). In fact, after cleaning the toolchain only adding the LIBs to usr\lib\swift\windows
does not work, I had to move all the libraries to usr\lib\swift\windows\x86_64
.
In the main thread it seems to be waiting in an NtWaitForKeyedEvent
call (from swift_stdlib_random
):
And in the other two threads it is in NtDelayExecution
calls (from the debugger?):