[PATCH] D43820: [ELF] - Check that output sections fit in address space.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 10:16:44 PDT 2018


ruiu added inline comments.


================
Comment at: ELF/Writer.cpp:2071
 // ranges and the virtual address ranges don't overlap
 template <class ELFT> void Writer<ELFT>::checkSectionOverlap() {
+  // First, check that section's VAs fit in available address space for target.
----------------
You should have changed the name of this function because it does more than checking section overlaps.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43820





More information about the llvm-commits mailing list