diff --git a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp index b96f97a159243..d154f16f272bd 100644 --- a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp +++ b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp @@ -257,7 +257,7 @@ LLVMSymbolizer::findSymbolCommon(const T &ModuleSpecifier, StringRef Symbol, if (LineInfo.FileName != DILineInfo::BadString) { if (Opts.Demangle) LineInfo.FunctionName = DemangleName(LineInfo.FunctionName, Info); - Result.push_back(LineInfo); + Result.push_back(std::move(LineInfo)); } }