[llvm-bugs] [Bug 36205] New: Add --no-check-sections switch

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 2 02:48:55 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36205

            Bug ID: 36205
           Summary: Add --no-check-sections switch
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

One of our internal tests started failing due to r323856, as it relies on
overlapping sections. When investigating a bit more, our team noticed that
ld.bfd has a --no-check-sections switch (and a corresponding --check-sections
switch which is on by default) that disables the error/warning emitted by the
linker when it encounters overlapping sections.

Since this switch would allow the error to be suppressed entirely, and would
not require the slightly more sledgehammer-like --noinhibit-exec, I'd like to
suggest that it be added to LLD too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180202/612577b3/attachment.html>


More information about the llvm-bugs mailing list