[PATCH] D34956: [ELF] - Store pointer to PT_LOAD instead of pointer to first section (FirstInPtLoad) in OutputSection
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 18:49:50 PDT 2017
ruiu added inline comments.
================
Comment at: ELF/LinkerScript.cpp:794-795
+
static void
-allocateHeaders(std::vector<PhdrEntry> &Phdrs,
+allocateHeaders(std::vector<PhdrEntry *> &Phdrs,
ArrayRef<OutputSectionCommand *> OutputSectionCommands,
----------------
This change seems fine, but I realized that I do not understand what this function is supposed to do. What is this for?
https://reviews.llvm.org/D34956
More information about the llvm-commits
mailing list