[PATCH] D24725: [ELF] - Linkerscript: report orphans if --verbose used.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 15:12:59 PDT 2016


rafael added a comment.

This now always talks about output sections.

We should also note if an input section is not placed in any output. For example, given

SECTIONS
{

  foo : { *(bar) }

}

and a .o with sections foo and and bar we should warn about the *input* section foo being an orphan. The idea is to warn anytime the linker has to guess where to put the input or output section.


https://reviews.llvm.org/D24725





More information about the llvm-commits mailing list