llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
26.82k stars 10.99k forks source link

Windows does not support JIT #37004

Open vedantk opened 6 years ago

vedantk commented 6 years ago
Bugzilla Link 37656
Version unspecified
OS All
CC @stella.stamenova

Extended Description

lldb-test fails to create a process that's usable by the JIT.

c865380c-e43e-4621-95cb-b0e85c2384bb commented 5 years ago

lit/Expr/TestIRMemoryMap.test is the only test that was marked as failing because of this bug that is still not passing on Windows. It is currently marked as unsupported.

c865380c-e43e-4621-95cb-b0e85c2384bb commented 5 years ago

The original bug name was:

lit/Expr/TestIRMemoryMap.test does not work on Windows

Changing this to Windows does not support JIT since there are at least two tests that require JIT and fail on Windows because of it:

lit/Expr/TestIRMemoryMap.test expression_command\rdar44436068\Test128BitsInteger.py

c865380c-e43e-4621-95cb-b0e85c2384bb commented 6 years ago

I think the reason the test bails out early (when it tests if the process is still alive and if it can support JIT) is because JIT doesn't actually work on Windows. Looking at the log, it seems to be the case as well, but I am not 100% sure since I am not familiar enough.

c865380c-e43e-4621-95cb-b0e85c2384bb commented 6 years ago

Test Log