When using `-LTCG` with Visual Studio, then by default, the linker will output an extra `.iobj` file in the same directory as the target file. In the OpenJDK build that means this file, along with the accompanying `.ipdb` file, will end up in the JDK image. To fix this, we need to apply a similar fix to JDK-8372643 and add an extra parameter that defines the location of this file.
------------- Commit messages: - Change conditional - JDK-8373255 Changes: https://git.openjdk.org/jdk/pull/28709/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28709&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8373255 Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/28709.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28709/head:pull/28709 PR: https://git.openjdk.org/jdk/pull/28709
