[PATCH] D64461: [lld-link] implement -thinlto-index-only

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 15:42:26 PDT 2019


inglorion marked an inline comment as done.
inglorion added inline comments.


================
Comment at: lld/COFF/LTO.cpp:57
+
+static std::string getThinLTOOutputFile(StringRef ModulePath) {
+  return ModulePath;
----------------
rnk wrote:
> I guess this is mainly a future extension point for prefix rewriting, so we can have different .thinlto.bc index files for different executable targets.
Exactly. The ELF linker allows prefix and suffix replace here, and we'll want that for the COFF linker, too. Patch is coming.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64461/new/

https://reviews.llvm.org/D64461





More information about the llvm-commits mailing list