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: unassignedb...@nondot.org
          Reporter: pir...@google.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to