================
@@ -58,6 +58,8 @@ class DWARFDebugInfo {
 
   const DWARFDebugAranges &GetCompileUnitAranges();
 
+  const std::shared_ptr<SymbolFileDWARFDwo> GetDwpSymbolFile();
----------------
dwblaikie wrote:

Remove const from by-value return. (it messes with move semantics and some 
other things) - or was this meant to return by reference? - yeah, I guess this 
latter, the underlying `m_dwarf.GetDwpSymbolFile()` seems to return by const 
reference, so this function probably should too?

https://github.com/llvm/llvm-project/pull/87740
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to