[PATCH] D24622: LTO: Simplify caching interface.
    Mehdi AMINI via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 15 16:40:13 PDT 2016
    
    
  
mehdi_amini added inline comments.
================
Comment at: tools/llvm-lto2/llvm-lto2.cpp:203-204
@@ -217,1 +202,4 @@
+                         EC.message() + "\n");
+
+    *AddStream(Task)->OS << (*ReloadedBufferOrErr)->getBuffer();
   };
----------------
As a side note: this is really inefficient: this is duplicating the file through memory without any apparent reason?
https://reviews.llvm.org/D24622
    
    
More information about the llvm-commits
mailing list