summaryrefslogtreecommitdiff
path: root/llvm/tools/obj2yaml/xcoff2yaml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/obj2yaml/xcoff2yaml.cpp')
-rw-r--r--llvm/tools/obj2yaml/xcoff2yaml.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/obj2yaml/xcoff2yaml.cpp b/llvm/tools/obj2yaml/xcoff2yaml.cpp
index 86bef80d3773..882c41049601 100644
--- a/llvm/tools/obj2yaml/xcoff2yaml.cpp
+++ b/llvm/tools/obj2yaml/xcoff2yaml.cpp
@@ -132,7 +132,8 @@ Error XCOFFDumper::dumpSymbols() {
Sym.Type = SymbolEntRef.getSymbolType();
Sym.StorageClass = SymbolEntRef.getStorageClass();
Sym.NumberOfAuxEntries = SymbolEntRef.getNumberOfAuxEntries();
- Symbols.push_back(Sym);
+
+ Symbols.push_back(std::move(Sym));
}
return Error::success();