[libcxx] [libc] [clang] [lld] [clang-tools-extra] [flang] [compiler-rt] [llvm] [ELF] --save-temps --lto-emit-asm: derive ELF/asm file names from bitcode file names (PR #78835)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 09:44:43 PST 2024


================
@@ -46,8 +46,9 @@ class BitcodeCompiler {
 
 private:
   std::unique_ptr<llvm::lto::LTO> ltoObj;
-  std::vector<SmallString<0>> buf;
+  SmallVector<std::pair<std::string, SmallString<0>>, 0> buf;
----------------
MaskRay wrote:

Added a comment

https://github.com/llvm/llvm-project/pull/78835


More information about the cfe-commits mailing list