HomePhabricator

Expression: correct relocation model for Windows

Description

Expression: correct relocation model for Windows

The Windows Code Generation model cannot generation code with the PIC relocation
model - all code is implicitly position independent due to the DLL load slide
that occurs if it is not loaded at the preferred base address. Invert the
condition and inline the single use of the variable. This should also aid the
WASM target. This significantly improves the state of the (swift) repl on
Windows (and should aid in expression evaluation on Windows).

Details

Committed
compnerdMay 22 2019, 4:23 PM
Parents
rLLDB361442: [Target] Protect Processes' language runtimes map with a mutex
Branches
Unknown
Tags
Unknown