[PATCH] D45080: [ELF] - Provide a hint about --no-check-sections

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 31 08:56:53 PDT 2018


grimar added a comment.

In https://reviews.llvm.org/D45080#1053141, @ruiu wrote:

> You can either disable error checking or ignore errors, but "ignoring this check" doesn't make much sense.
>
> In what situation this hint is useful? Showing a hint suggests people do that, but IIUC, overlapping sections is almost always an error, and it is pretty rare that you need --no-check-sections option. It may give a wrong impression that the error can be resolved by passing that option.


In this message, I am saying "if you need overlays". That suggests that user *need* it. It is for cases like PR36768. LLD does not support OVERLAYS, though it is a possible legal thing to do.


https://reviews.llvm.org/D45080





More information about the llvm-commits mailing list