diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-22 23:23:39 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-22 23:23:39 +0000 |
commit | 2956127f5b4e6bc6da77f47d86ed559c76c0c9a4 (patch) | |
tree | c7a1d996286456a266b98404d55ce6cc4b3ab7c8 /llvm/unittests/Support/FileCheckTest.cpp | |
parent | 74eb76f6c31e13551269f711cfccceca92b45783 (diff) | |
download | llvm-2956127f5b4e6bc6da77f47d86ed559c76c0c9a4.zip llvm-2956127f5b4e6bc6da77f47d86ed559c76c0c9a4.tar.gz llvm-2956127f5b4e6bc6da77f47d86ed559c76c0c9a4.tar.bz2 |
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).
llvm-svn: 361443
Diffstat (limited to 'llvm/unittests/Support/FileCheckTest.cpp')
0 files changed, 0 insertions, 0 deletions