[PATCH] D36351: [lld][ELF] Add profile guided section layout

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 18:47:43 PDT 2018


espindola added inline comments.


================
Comment at: ELF/Driver.cpp:611-612
+static void readCallGraphProfile(MemoryBufferRef MB) {
+  std::vector<StringRef> Lines = getLines(MB);
+  for (StringRef L : Lines) {
+    SmallVector<StringRef, 3> Fields;
----------------
ruiu wrote:
> `for (StringRef L : getLines(MB))`
This is marked done, but it is not.


https://reviews.llvm.org/D36351





More information about the llvm-commits mailing list