[PATCH] D111371: [Support][ThinLTO] Move ThinLTO caching to LLVM Support library.

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 7 19:20:21 PDT 2021


phosek added inline comments.


================
Comment at: llvm/lib/Support/Caching.cpp:137
+      sys::path::append(TempFilenameModel, CacheDirectoryPath,
+                        "Caching-%%%%%%.tmp.o");
       Expected<sys::fs::TempFile> Temp = sys::fs::TempFile::create(
----------------
I would make this configurable via function argument and set this to `Thin` for the LTO uses to avoid any behavioral changes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111371



More information about the cfe-commits mailing list