[llvm-bugs] [Bug 51309] New: `--verbose` should generate and dump out a linker script based on built-in rules

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 2 11:12:44 PDT 2021


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

            Bug ID: 51309
           Summary: `--verbose` should generate and dump out a linker
                    script based on built-in rules
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: akiekintveld at icloud.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

In GNU ld, passing `--verbose` will dump out the internal linker script that
will be used. This is useful when making a custom linker script, since it can
act as a good base to make changes to. Although lld doesn't use internal linker
scripts, it would be nice if it could generate a fake linker script based on
the built-in rules that are used and print this out when this option is
present.

-- 
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/20210802/ecf8f180/attachment.html>


More information about the llvm-bugs mailing list