[PATCH] D26795: [ELF] Better error reporting for linker scripts

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 06:31:23 PST 2016


rafael added inline comments.


================
Comment at: ELF/LinkerScript.cpp:1020
+
+  // Array of {File_Name, File_Data} pairs used for
+  // error reporting.
----------------
That is pretty much  what a MemomryBufferRef is. Can't you store that instead of the std::pair?


https://reviews.llvm.org/D26795





More information about the llvm-commits mailing list