[PATCH] D41146: [DWARF] DWARF v5: Rework of string offsets table reader
    Jonas Devlieghere via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Dec 16 04:00:38 PST 2017
    
    
  
JDevlieghere added inline comments.
================
Comment at: lib/DebugInfo/DWARF/DWARFContext.cpp:119
+      Contributions.end());
+  return std::move(Contributions);
+}
----------------
Moving the `ContributionCollection` will actually prevent RVO (the compiler should warn you about this). 
https://reviews.llvm.org/D41146
    
    
More information about the llvm-commits
mailing list