[PATCH] D38180: [ELF] - ICF: improve support of SHF_LINK_ORDER sections.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 05:04:55 PDT 2017
ruiu added inline comments.
================
Comment at: ELF/InputSection.cpp:244
+InputSection *InputSectionBase::getLinkOrderSec() const {
+ std::vector<InputSection *> V;
----------------
You are assuming that there's up to one dependent section, but are you sure that the assumption is correct? I don't think that's guaranteed by the standard.
https://reviews.llvm.org/D38180
More information about the llvm-commits
mailing list