Currently linktime-gc is only supported with gcc, but the needed compile and linker flags work too with clang on Linux. So I think we can support it also with the clang toolchain on Linux.
------------- Commit messages: - JDK-8379202 Changes: https://git.openjdk.org/jdk/pull/30071/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30071&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379202 Stats: 9 lines in 2 files changed: 9 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/30071.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30071/head:pull/30071 PR: https://git.openjdk.org/jdk/pull/30071
