[PATCH] D35371: [COFF] Bounds check relocations
Noel Grandin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 11:56:11 PDT 2017
grandinj added inline comments.
================
Comment at: lld/COFF/Chunks.cpp:218
+ // beginning of the following input section.
+ if (Rel.VirtualAddress >= getSize())
+ fatal("relocation points beyond the end of its parent section");
----------------
could hoist getSize() outside the loop?
https://reviews.llvm.org/D35371
More information about the llvm-commits
mailing list