[Lldb-commits] [lldb] [DRAFT] Add support for inline DWARF source files. (PR #75880)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 18 17:14:38 PST 2023
================
@@ -38,7 +65,10 @@ class FileSpecList {
FileSpecList(FileSpecList &&rhs) = default;
/// Initialize this object from a vector of FileSpecs
- FileSpecList(std::vector<FileSpec> &&rhs) : m_files(std::move(rhs)) {}
+ FileSpecList(std::vector<FileSpec> &&rhs) {
+ for (auto &fs : rhs)
+ m_files.emplace_back(fs);
----------------
bulbazord wrote:
This sidesteps the move semantics and means we're copying again. Why?
https://github.com/llvm/llvm-project/pull/75880
More information about the lldb-commits
mailing list