[PATCH] D137217: [LTO][COFF] Use bitcode file names in lto native object file names.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 19 14:12:54 PST 2022


MaskRay added inline comments.


================
Comment at: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp:846
+  auto AddStream = [&](size_t Task,
+                       Twine ModuleName) -> std::unique_ptr<CachedFileStream> {
     int FD = -1;
----------------
`Twine` should only be used as const references as arguments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137217



More information about the cfe-commits mailing list