sdmitriev created this revision. sdmitriev added a reviewer: ABataev. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D73738 Files: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp Index: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp =================================================================== --- clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp +++ clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp @@ -530,10 +530,10 @@ // Create an intermediate temporary file to save object after the first // llvm-objcopy run. - Expected<SmallString<128u>> IntermediateObjOrErr = TempFiles.Create(None); + Expected<StringRef> IntermediateObjOrErr = TempFiles.Create(None); if (!IntermediateObjOrErr) return IntermediateObjOrErr.takeError(); - const SmallString<128u> &IntermediateObj = *IntermediateObjOrErr; + StringRef IntermediateObj = *IntermediateObjOrErr; // Compose llvm-objcopy command line for add target objects' sections. BumpPtrAllocator Alloc;
Index: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp =================================================================== --- clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp +++ clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp @@ -530,10 +530,10 @@ // Create an intermediate temporary file to save object after the first // llvm-objcopy run. - Expected<SmallString<128u>> IntermediateObjOrErr = TempFiles.Create(None); + Expected<StringRef> IntermediateObjOrErr = TempFiles.Create(None); if (!IntermediateObjOrErr) return IntermediateObjOrErr.takeError(); - const SmallString<128u> &IntermediateObj = *IntermediateObjOrErr; + StringRef IntermediateObj = *IntermediateObjOrErr; // Compose llvm-objcopy command line for add target objects' sections. BumpPtrAllocator Alloc;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits