[llvm-bugs] [Bug 32155] New: Os and LLVMgold.so

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 6 11:52:17 PST 2017


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

            Bug ID: 32155
           Summary: Os and LLVMgold.so
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: pirama at google.com
                CC: llvm-bugs at lists.llvm.org

Clang driver passes through Os to the Gold plugin as '-plugin-opt=Os'.  This is
currently rejected by the plugin.  Should we strip the optimization flag (and
default to O2) or transform Os to something else?

In the long term, is it reasonable to support Os and Oz and use it to set 
PassManagerBuilder.sizeLevel?  From my limited exploration, I didn't see any
pass added in PassManagerBuilder::populateLTOPassManager() that needs to be
disabled for Os.  Are there are passes that can be added?

-- 
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/20170306/4b21ba03/attachment.html>


More information about the llvm-bugs mailing list