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

            Bug ID: 43342
           Summary: Warn when PE file size is greater than 2GB
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

LLD can produce large binaries that Windows will refuse to run. The error code
from CreateProcess in these cases is confusing. It would be nice if LLD would
warn when the output file size is large.

I think there are some cases (DWARF) when the PE file might be large and then
the resulting file might be stripped, so this probably can't be hard error, but
we should do something to make this use case easier to debug.

See https://bugs.chromium.org/p/chromium/issues/detail?id=1003624#c14 which
inspired this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to