[PATCH] D27097: [ELF] Refactor target errors

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 09:24:43 PST 2016


ruiu added inline comments.


================
Comment at: ELF/Writer.cpp:1559
+
+  for (OutputSectionBase *S : OutputSections) {
+    uint8_t *OutSecLoc = Start + S->Offset;
----------------
I think we should make OutputSections global, instead of doing a plumbing work to propagate information from Target to Writer.


Repository:
  rL LLVM

https://reviews.llvm.org/D27097





More information about the llvm-commits mailing list