[LLVMbugs] [Bug 19327] New: Forward -ON to the linker

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 3 11:21:02 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19327

            Bug ID: 19327
           Summary: Forward -ON to the linker
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

At least gold has a -O option, but I don't thing it gets used very often since
people normally link with "clang -O2" not "clang -Wl,-O2".

I tried adding -O2 to the link line and it reduces the clang binary from
58623800 bytes to 57788424 bytes.

-- 
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/20140403/b90d0778/attachment.html>


More information about the llvm-bugs mailing list